/* Progenx Systems - Modern CSS Styles - Optimized for Performance */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light-gray: #94a3b8;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-gradient-tech: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --bg-gradient-light: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --bg-gradient-dark: linear-gradient(135deg, #434343 0%, #000000 100%);
    --border-color: #e2e8f0;
    
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --transition: none;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Compact Typography Classes */
.hero-title-compact {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: white !important;
}

.hero-description-compact {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8) !important;
}

.h2-compact {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.lead-compact {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #64748b;
}

.feature-icon-compact {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Compact Statistics */
.stat-number-compact {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label-compact {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Compact Card Styles */
.solution-card-compact,
.service-card-compact,
.award-card-compact {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.solution-card-compact:hover,
.service-card-compact:hover,
.award-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-icon-compact {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.2rem;
}

.solution-card-compact .card-body,
.service-card-compact .card-body {
    padding: 1rem;
}

.award-card-compact .card-body {
    padding: 0.75rem;
}

/* Compact Testimonial Cards */
.testimonial-card-compact {
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.testimonial-card-compact .card-body {
    padding: 1.5rem;
}

.testimonial-card-compact:hover {
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

.display-1 { font-family: var(--font-display); font-weight: 700; }
.display-2 { font-family: var(--font-display); font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.text-light-gray { color: var(--text-light-gray) !important; }

/* Layout */
.main-content {
    padding-top: 100px; /* Add proper gap for fixed header */
}

/* Modern Section Backgrounds */
.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.section-padding-compact {
    padding: 5rem 0;
}

.section-padding-sm {
    padding: 1.5rem 0;
}

/* Fix alignment issues */
.row {
    margin-left: 0;
    margin-right: 0;
}

.container {
    max-width: 1200px;
}

/* Ensure proper spacing between sections */
section + section {
    margin-top: 0;
}

/* Modern Button Styles */
.btn {
    font-weight: 600;
    border-radius: 12px;
    padding: 0.875rem 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

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

/* Navigation - Dark Theme */
.navbar {
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border-bottom: 1px solid #444;
}

.navbar-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.brand-text {
    color: var(--text-dark) !important;
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #ffffff !important;
    padding: 0.75rem 1.25rem !important;
    transition: var(--transition);
    position: relative;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #4facfe !important;
    background: rgba(79, 172, 254, 0.1);
}

/* Mega Menu Styles - Fixed Positioning */
.mega-dropdown {
    position: static !important;
}

.mega-dropdown .dropdown-menu {
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-radius: 15px !important;
    padding: 1.5rem 0 !important;
    margin-top: 0 !important;
    width: 700px !important;
    max-width: 700px !important;
    background: white !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 100% !important;
    z-index: 1050 !important;
    display: none;
}

.mega-dropdown .dropdown-menu {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: none;
}

.mega-dropdown .dropdown-menu.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.mega-menu {
    position: absolute !important;
    width: auto !important;
    transform: none !important;
    z-index: 9999 !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 600px;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 1.5rem !important;
    margin-top: 0.5rem !important;
}

/* Ensure navbar container allows overflow for mega menu */
.navbar .container {
    position: relative;
    overflow: visible;
}

/* Override Bootstrap's dropdown positioning */
.dropdown-menu[data-bs-popper] {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0 1.5rem;
    max-width: 650px;
    margin: 0 auto;
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border: 1px solid transparent;
}

.mega-menu-item:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mega-menu-item.active {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
}

.mega-menu-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.mega-menu-text h6 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.mega-menu-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Enhanced Standard Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1rem 0;
    margin-top: 0.5rem;
    min-width: 280px;
    background: white;
    z-index: 1050;
}

/* Ensure dropdown toggle works properly */
.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle:focus {
    box-shadow: none;
}

/* Fix dropdown positioning issues */
.navbar .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: none;
}

.navbar .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Force dropdown visibility when show class is present */
.dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1050 !important;
    background: white !important;
    border: 1px solid rgba(0,0,0,.15) !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15) !important;
    min-width: 10rem !important;
}



/* Navbar positioning - fixed header with dark theme */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(45, 45, 45, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #444;
    margin: 0;
}

/* Remove body padding to eliminate gaps */
body {
    padding-top: 0;
}





/* Custom Dropdown Styles - Consistent for ALL */
.custom-dropdown {
    position: relative;
    z-index: 1000;
}

/* Navbar stacking context - consolidated above */

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999 !important;
    display: none !important;
    min-width: 280px;
    max-width: 350px;
    padding: 0.75rem 0;
    margin: 0;
    font-size: 0.9rem;
    background: #2d2d2d !important;
    border: 1px solid #444 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    color: #ffffff;
    text-align: left;
    list-style: none;
    background-color: #2d2d2d;
    background-clip: padding-box;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0);
    z-index: 99999 !important;
}

.custom-dropdown-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.6rem 1.25rem;
    clear: both;
    font-weight: 400;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.custom-dropdown-item:hover,
.custom-dropdown-item:focus {
    color: #4facfe;
    background-color: rgba(79, 172, 254, 0.1);
    text-decoration: none;
}

.custom-dropdown-item.active {
    color: #4facfe;
    background-color: rgba(79, 172, 254, 0.2);
}

.custom-dropdown-item i {
    width: 20px;
    text-align: center;
    opacity: 0.8;
    color: #4facfe;
}

.custom-dropdown-item:hover i,
.custom-dropdown-item:focus i {
    opacity: 1;
    color: #4facfe;
}

.dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

.custom-dropdown.open .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

/* Prevent Bootstrap dropdown conflicts */
.navbar .dropdown-menu {
    display: none !important;
}

.navbar .custom-dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.navbar .custom-dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force hide all dropdowns on page load */
.custom-dropdown-menu:not(.show) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
    color: white;
}

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

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

.btn-cta {
    font-weight: 600;
    padding: 0.4rem 0.8rem !important; /* Smaller padding for single line */
    border-radius: 50px;
    font-size: 0.8rem !important; /* Smaller font size */
    white-space: nowrap; /* Prevent text wrapping */
    min-width: auto;
    line-height: 1.2;
}

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

/* Hero Section - Modern Professional Design */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #581c87 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 4rem 0;
}

/* Compact Hero Section for About/Inner Pages - No gaps */
.hero-compact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 30vh; /* Only 30% of viewport height */
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    padding: 3rem 0; /* Reduced padding */
}

/* Modern Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.bg-gradient-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero::before,
.hero-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero h1,
.hero-compact h1 {
    color: white !important;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p,
.hero-compact p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Compact hero specific adjustments */
.hero-compact h1 {
    font-size: 2.8rem; /* Slightly smaller for compact version */
    margin-bottom: 1rem;
}

.hero-compact p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Dark Animated IT Business Hero Section - Perfect 100vh */
.hero-clean {
    padding: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #334155 60%, #475569 100%);
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated IT Business Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Floating Tech Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 10s;
    background: rgba(34, 197, 94, 0.6);
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
    background: rgba(168, 85, 247, 0.6);
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
    background: rgba(249, 115, 22, 0.6);
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    top: 70%;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 6s;
    background: rgba(236, 72, 153, 0.6);
}

.particle:nth-child(6) {
    width: 7px;
    height: 7px;
    top: 40%;
    left: 30%;
    animation-delay: 5s;
    animation-duration: 11s;
    background: rgba(14, 165, 233, 0.6);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Geometric Tech Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border: 2px solid rgba(59, 130, 246, 0.3);
    animation: rotate 15s linear infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 85%;
    border-radius: 10px;
    animation-delay: 0s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    top: 70%;
    left: 15%;
    border-radius: 50%;
    border-color: rgba(34, 197, 94, 0.3);
    animation-delay: 5s;
    animation-duration: 20s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 90%;
    border-radius: 15px;
    border-color: rgba(168, 85, 247, 0.3);
    animation-delay: 10s;
    animation-duration: 25s;
}

.shape-4 {
    width: 50px;
    height: 50px;
    top: 25%;
    left: 5%;
    border-radius: 50%;
    border-color: rgba(249, 115, 22, 0.3);
    animation-delay: 7s;
    animation-duration: 18s;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.5;
    }
}

/* Gradient Tech Orbs */
.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 8s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    top: 10%;
    left: 70%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
    top: 60%;
    left: 10%;
    animation-delay: 3s;
}

.orb-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    top: 80%;
    left: 80%;
    animation-delay: 6s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Circuit Board Lines */
.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    animation: circuit-flow 4s ease-in-out infinite;
}

.circuit-line.line-1 {
    width: 200px;
    height: 2px;
    top: 25%;
    left: 20%;
    animation-delay: 0s;
}

.circuit-line.line-2 {
    width: 150px;
    height: 2px;
    top: 60%;
    left: 60%;
    animation-delay: 1s;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.5), transparent);
}

.circuit-line.line-3 {
    width: 2px;
    height: 120px;
    top: 40%;
    left: 80%;
    animation-delay: 2s;
    background: linear-gradient(0deg, transparent, rgba(168, 85, 247, 0.5), transparent);
}

.circuit-line.line-4 {
    width: 180px;
    height: 2px;
    top: 80%;
    left: 10%;
    animation-delay: 3s;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.5), transparent);
}

@keyframes circuit-flow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Data Flow Animation */
.data-flow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.data-packet {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(59, 130, 246, 0.8);
    border-radius: 50%;
    animation: data-move 6s linear infinite;
}

.packet-1 {
    top: 30%;
    left: 0%;
    animation-delay: 0s;
}

.packet-2 {
    top: 50%;
    left: 0%;
    animation-delay: 2s;
    background: rgba(34, 197, 94, 0.8);
}

.packet-3 {
    top: 70%;
    left: 0%;
    animation-delay: 4s;
    background: rgba(168, 85, 247, 0.8);
}

@keyframes data-move {
    0% {
        left: 0%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Tech Grid */
.tech-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.grid-line {
    position: absolute;
    background: rgba(59, 130, 246, 0.3);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.horizontal:nth-child(1) {
    top: 33%;
}

.grid-line.horizontal:nth-child(2) {
    top: 66%;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
}

.grid-line.vertical:nth-child(3) {
    left: 33%;
}

.grid-line.vertical:nth-child(4) {
    left: 66%;
}

/* Animated Scroll Down Arrow - Moved Higher */
.scroll-down-arrow {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    cursor: pointer;
}

.scroll-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    animation: fadeInOut 2s ease-in-out infinite;
}

.arrow-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(59, 130, 246, 0.8);
    border-bottom: 2px solid rgba(59, 130, 246, 0.8);
    transform: rotate(45deg);
    animation: arrowMove 2s ease-in-out infinite;
}

.arrow:nth-child(1) {
    animation-delay: 0s;
    opacity: 0.3;
}

.arrow:nth-child(2) {
    animation-delay: 0.3s;
    opacity: 0.6;
}

.arrow:nth-child(3) {
    animation-delay: 0.6s;
    opacity: 1;
}

@keyframes arrowMove {
    0% {
        transform: rotate(45deg) translateY(-10px);
        opacity: 0;
    }
    50% {
        transform: rotate(45deg) translateY(0px);
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translateY(10px);
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Hover effect for scroll arrow */
.scroll-down-arrow:hover .arrow {
    border-color: rgba(59, 130, 246, 1);
    animation-duration: 1s;
}

.scroll-down-arrow:hover .scroll-text {
    color: rgba(255, 255, 255, 1);
    animation-duration: 1s;
}

/* Click functionality */
.scroll-down-arrow {
    transition: transform 0.2s ease;
}

.scroll-down-arrow:active {
    transform: translateX(-50%) scale(0.95);
}

/* Compact Scroll Down Arrow */
.scroll-down-arrow-compact {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease;
}

.scroll-arrow-container-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-text-compact {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    animation: fadeInOut 2s ease-in-out infinite;
}

.arrow-wrapper-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.arrow-compact {
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    animation: simpleArrow 2s ease-in-out infinite;
}

.arrow-compact:nth-child(1) {
    animation-delay: 0s;
    opacity: 0.5;
}

.arrow-compact:nth-child(2) {
    animation-delay: 0.4s;
    opacity: 1;
}

/* Hover effect for compact scroll arrow */
.scroll-down-arrow-compact:hover .arrow-compact {
    border-color: rgba(59, 130, 246, 1);
    animation-duration: 1s;
}

.scroll-down-arrow-compact:hover .scroll-text-compact {
    color: rgba(255, 255, 255, 1);
    animation-duration: 1s;
}

.scroll-down-arrow-compact:active {
    transform: translateX(-50%) scale(0.95);
}

/* Simple Arrow Animation */
@keyframes simpleArrow {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-3px) rotate(45deg);
    }
}

/* Clean Simple Scroll Arrow - No Effects */
.scroll-down-arrow-compact {
    /* No special styling */
}

.scroll-down-arrow-compact:hover .scroll-text-compact {
    color: rgba(255, 255, 255, 1);
}

.scroll-down-arrow-compact:hover .arrow-compact {
    border-color: rgba(255, 255, 255, 1);
}

/* Pulse effect for scroll arrow */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

.scroll-down-arrow-compact {
    animation: pulseGlow 3s infinite;
}

/* Simple Logo Styling */
.navbar-brand img {
    transition: all 0.3s ease;
}

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

/* Desktop Navbar - Hide mobile elements */
@media (min-width: 769px) {
    .navbar-toggler {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .navbar-collapse {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Mobile Navbar Fixes */
@media (max-width: 768px) {
    .navbar {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1030 !important;
        padding: 0.5rem 1rem !important;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
        border-bottom: 1px solid #444 !important;
        min-height: 60px !important;
    }

    /* Mobile Logo Enhancement */
    .navbar-brand {
        max-width: 70% !important;
        padding: 0.25rem 0 !important;
        display: flex !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 99999 !important;
    }

    .navbar-brand img {
        display: block !important;
        height: 32px !important;
        width: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        filter: brightness(1.2) contrast(1.2) !important;
        object-fit: contain !important;
    }

    .navbar-brand img {
        height: 35px !important;
        width: auto !important;
        max-width: 200px !important;
        display: block !important;
        object-fit: contain !important;
    }

    /* Mobile navbar brand - FORCE DISPLAY */
    .navbar-brand {
        display: flex !important;
        align-items: center !important;
        max-width: 75% !important;
        padding: 0.5rem 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
    }

    .navbar-brand img {
        display: block !important;
        height: 32px !important;
        width: auto !important;
        max-width: 140px !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        filter: none !important;
    }

    /* Force mobile tagline to show */
    .navbar-brand div {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .navbar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
        position: relative !important;
        z-index: 1040 !important;
    }

    .navbar-brand {
        display: flex !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1050 !important;
        flex-shrink: 0 !important;
        padding: 0.5rem 1rem 0.5rem 0 !important;
        min-width: 160px !important;
        max-width: 65% !important;
    }

    .navbar-brand img,
    .navbar-logo-img {
        height: 35px !important;
        width: auto !important;
        max-width: 140px !important;
        min-width: 80px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        object-fit: contain !important;
        background: rgba(255, 255, 255, 0.95) !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }

    /* Hide mobile tagline on desktop */
    .mobile-tagline {
        display: none !important;
    }

    .navbar-brand-container {
        display: flex !important;
        align-items: center !important;
    }

    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1050 !important;
        border: 2px solid #4facfe !important;
        background: rgba(79, 172, 254, 0.2) !important;
        padding: 0.4rem 0.7rem !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }

    .navbar-toggler:focus,
    .navbar-toggler:active {
        box-shadow: 0 0 15px rgba(79, 172, 254, 0.7) !important;
        outline: none !important;
    }

    .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%2879, 172, 254, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        width: 1.5em !important;
        height: 1.5em !important;
        display: block !important;
    }

    .navbar-collapse {
        width: 100% !important;
        margin-top: 0.5rem !important;
    }

    /* Force mobile navbar visibility */
    .navbar-expand-lg .navbar-toggler {
        display: block !important;
    }

    .navbar-expand-lg .navbar-collapse {
        display: none !important;
    }

    .navbar-expand-lg .navbar-collapse.show {
        display: block !important;
    }

    /* Ensure proper mobile menu styling */
    @media (max-width: 991.98px) {
        .navbar-expand-lg .navbar-nav {
            flex-direction: column !important;
        }

        .navbar-expand-lg .navbar-nav .nav-link {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        .navbar-expand-lg .navbar-collapse {
            background: rgba(45, 45, 45, 0.98) !important;
            border-radius: 8px !important;
            margin-top: 0.5rem !important;
            padding: 1rem !important;
            border: 1px solid #444 !important;
            backdrop-filter: blur(10px) !important;
        }
    }
}

/* Hero Content Styling for Dark Background */
.hero-clean .container {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 900;
    color: white !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Clean Hero Styles - No Glow Effects */
.hero-title-compact {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: normal;
    margin-bottom: 1.5rem;
}

.hero-description-compact {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Compact Trust Indicators */
.trust-indicators-compact {
    margin: 1.5rem 0;
}

.trust-item-compact {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.trust-item-compact:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.trust-text-compact {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.hero-clean .text-primary {
    color: #60a5fa !important;
}

.hero-clean .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Hero Cards Grid - Clean and Simple */
.hero-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.service-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.service-card h6 {
    color: white !important;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.5rem;
}

.card-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* New Compact Service Cards */
.service-card-compact {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card-compact:hover::before {
    opacity: 1;
}

.service-card-compact:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.12) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-icon-compact {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.4rem;
    color: white;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card-compact:hover .card-icon-compact {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.card-title-compact {
    font-size: 1.1rem;
    font-weight: 700;
    color: white !important;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
}

.card-description-compact {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 1rem;
    line-height: 1.4;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.card-status-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.status-indicator.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.6), 0 0 24px rgba(40, 167, 69, 0.3);
}

.status-indicator.optimized {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 0 12px rgba(0, 123, 255, 0.6), 0 0 24px rgba(0, 123, 255, 0.3);
}

.status-indicator.ready {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    box-shadow: 0 0 12px rgba(23, 162, 184, 0.6), 0 0 24px rgba(23, 162, 184, 0.3);
}

.status-indicator.available {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.6), 0 0 24px rgba(40, 167, 69, 0.3);
}

.status-indicator.webdev {
    background: linear-gradient(135deg, #6f42c1 0%, #5a2d91 100%);
    box-shadow: 0 0 12px rgba(111, 66, 193, 0.6), 0 0 24px rgba(111, 66, 193, 0.3);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.status-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.2px;
}

/* Individual Card Themes */
.service-card-compact.cybersecurity-card .card-icon-compact {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.service-card-compact.infrastructure-card .card-icon-compact {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.service-card-compact.cloud-card .card-icon-compact {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.service-card-compact.support-card .card-icon-compact {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.service-card-compact.webdev-card .card-icon-compact {
    background: linear-gradient(135deg, #6f42c1 0%, #5a2d91 100%);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.service-card-compact.consulting-card .card-icon-compact {
    background: linear-gradient(135deg, #6f42c1 0%, #5a2d91 100%);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

/* Card Hover Effects with Individual Colors */
.service-card-compact.cybersecurity-card:hover {
    border-color: rgba(40, 167, 69, 0.3);
    box-shadow: 0 20px 50px rgba(40, 167, 69, 0.15);
}

.service-card-compact.infrastructure-card:hover {
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.15);
}

.service-card-compact.cloud-card:hover {
    border-color: rgba(23, 162, 184, 0.3);
    box-shadow: 0 20px 50px rgba(23, 162, 184, 0.15);
}

.service-card-compact.support-card:hover {
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 0 20px 50px rgba(255, 193, 7, 0.15);
}

.service-card-compact.webdev-card:hover {
    border-color: rgba(111, 66, 193, 0.3);
    box-shadow: 0 20px 50px rgba(111, 66, 193, 0.15);
}

/* Feature Cards */
.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

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

/* Specific backgrounds for each feature card */
.feature-card:nth-child(1) {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.feature-card:nth-child(1):hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.feature-card:nth-child(2) {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.feature-card:nth-child(2):hover {
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

.feature-card:nth-child(3) {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.feature-card:nth-child(3):hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    margin-bottom: 1.5rem;
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

/* Solution & Service Cards */
.solution-card, .service-card {
    transition: all 0.3s ease;
}

.solution-card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card-compact {
        height: 200px;
        padding: 1.5rem;
    }

    .card-icon-compact {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .card-title-compact {
        font-size: 1rem;
    }

    .card-description-compact {
        font-size: 0.8rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* Hero Background Container */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Gradient Background */
.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(147, 51, 234, 0.1) 25%,
        rgba(236, 72, 153, 0.1) 50%,
        rgba(245, 158, 11, 0.1) 75%,
        rgba(34, 197, 94, 0.1) 100%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(147, 51, 234, 0.1) 25%,
            rgba(236, 72, 153, 0.1) 50%,
            rgba(245, 158, 11, 0.1) 75%,
            rgba(34, 197, 94, 0.1) 100%);
    }
    33% {
        background: linear-gradient(135deg,
            rgba(147, 51, 234, 0.1) 0%,
            rgba(236, 72, 153, 0.1) 25%,
            rgba(245, 158, 11, 0.1) 50%,
            rgba(34, 197, 94, 0.1) 75%,
            rgba(59, 130, 246, 0.1) 100%);
    }
    66% {
        background: linear-gradient(135deg,
            rgba(236, 72, 153, 0.1) 0%,
            rgba(245, 158, 11, 0.1) 25%,
            rgba(34, 197, 94, 0.1) 50%,
            rgba(59, 130, 246, 0.1) 75%,
            rgba(147, 51, 234, 0.1) 100%);
    }
}

/* Floating Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite linear;
}

.particle-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: rgba(59, 130, 246, 0.3);
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 20%;
    animation-delay: -5s;
    background: rgba(147, 51, 234, 0.3);
}

.particle-3 {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 70%;
    animation-delay: -10s;
    background: rgba(236, 72, 153, 0.3);
}

.particle-4 {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 80%;
    animation-delay: -15s;
    background: rgba(245, 158, 11, 0.3);
}

.particle-5 {
    width: 4px;
    height: 4px;
    top: 30%;
    left: 90%;
    animation-delay: -7s;
    background: rgba(34, 197, 94, 0.3);
}

.particle-6 {
    width: 7px;
    height: 7px;
    top: 70%;
    left: 5%;
    animation-delay: -12s;
    background: rgba(168, 85, 247, 0.3);
}

.particle-7 {
    width: 3px;
    height: 3px;
    top: 10%;
    left: 50%;
    animation-delay: -3s;
    background: rgba(14, 165, 233, 0.3);
}

.particle-8 {
    width: 5px;
    height: 5px;
    top: 90%;
    left: 40%;
    animation-delay: -18s;
    background: rgba(251, 146, 60, 0.3);
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

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

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    top: 40%;
    left: 60%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Floating Geometric Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: floatShape 20s infinite ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: -5s;
    background: rgba(147, 51, 234, 0.1);
    border-color: rgba(147, 51, 234, 0.2);
    border-radius: 20%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.2);
}

.shape-4 {
    width: 40px;
    height: 40px;
    top: 30%;
    left: 70%;
    animation-delay: -7s;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    border-radius: 10%;
}

.shape-5 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 60%;
    animation-delay: -12s;
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.shape-6 {
    width: 70px;
    height: 70px;
    top: 50%;
    left: 5%;
    animation-delay: -15s;
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.2);
    border-radius: 30%;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg) scale(1.1);
        opacity: 0.6;
    }
}

/* Animated Lines */
.animated-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    animation: moveLine 25s infinite linear;
}

.line-1 {
    width: 200px;
    height: 2px;
    top: 25%;
    left: -200px;
    animation-delay: 0s;
}

.line-2 {
    width: 150px;
    height: 1px;
    top: 65%;
    left: -150px;
    animation-delay: -8s;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.3), transparent);
}

.line-3 {
    width: 180px;
    height: 2px;
    top: 45%;
    left: -180px;
    animation-delay: -16s;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.3), transparent);
}

@keyframes moveLine {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 200px));
        opacity: 0;
    }
}

.hero-modern .container {
    position: relative;
    z-index: 10;
    padding: 4rem 0;
}

/* Enhanced Hero Content Styling */
.hero-modern .hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: white !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-modern .hero-description {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.7;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-modern .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
    transform: translateY(20px);
    opacity: 0;
}

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

/* Enhanced Button Styling */
.hero-modern .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.hero-modern .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.hero-modern .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-modern .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Enhanced Hero Visual Elements */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.hero-card {
    position: absolute;
    max-width: 300px;
    animation: cardFloat 6s ease-in-out infinite;
}

.hero-card.floating {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-card.floating-delayed {
    top: 40%;
    left: 5%;
    animation-delay: -2s;
}

.hero-card.floating-third {
    bottom: 10%;
    right: 20%;
    animation-delay: -4s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.hero-card .card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
}

.bg-success-soft {
    background-color: rgba(16, 185, 129, 0.1) !important;
}

.bg-info-soft {
    background-color: rgba(6, 182, 212, 0.1) !important;
}

.text-success {
    color: #10b981 !important;
}

.text-info {
    color: #06b6d4 !important;
}

/* Beautiful Scroll Down Button - Moved Higher */
.scroll-down-container {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    text-align: center;
}

.scroll-down-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    padding: 25px 40px;
    border-radius: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    animation: scrollPulse 3s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
}

.scroll-down-button:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.scroll-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-weight: 600;
}

.scroll-text span {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.scroll-text small {
    font-size: 0.7rem;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.scroll-arrow {
    color: white;
    font-size: 1.5rem;
    animation: bounceArrow 2.5s ease-in-out infinite;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scroll-indicator {
    margin-top: 15px;
    height: 40px;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin-left: auto;
    margin-right: auto;
    border-radius: 1px;
    overflow: hidden;
}

.scroll-line {
    height: 20px;
    width: 100%;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.8), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

@keyframes scrollLine {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* Enhanced Modern Design Elements */
.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

/* Enhanced Floating Elements */
.hero-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(59, 130, 246, 0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(147, 51, 234, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(236, 72, 153, 0.1), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: starField 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes starField {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

/* Enhanced Hero Content with Glass Morphism */
.hero-modern .hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Enhanced Typography */
.hero-modern .hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.hero-modern .text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s ease-in-out infinite;
}

@keyframes gradientText {
    0%, 100% {
        background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    50% {
        background: linear-gradient(135deg, #ec4899 0%, #3b82f6 50%, #8b5cf6 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Enhanced Hero Section Styling with Better Fonts */
.hero-modern .hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.hero-modern .hero-title .text-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    display: inline-block;
}

.hero-modern .hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.hero-modern .hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.hero-modern .btn {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-modern .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.hero-modern .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.hero-modern .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-modern .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Enhanced Stats Cards */
.stat-card {
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Enhanced Hero Cards with Better Separation - Compact */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 2rem;
    padding-top: 1rem;
}

.hero-card {
    transform: translateX(0);
    transition: all 0.6s ease;
    margin-bottom: 1rem;
}

.hero-card.floating {
    animation: floatCard1 8s ease-in-out infinite;
    transform: translateX(-20px);
}

.hero-card.floating-delayed {
    animation: floatCard2 8s ease-in-out infinite 2.5s;
    transform: translateX(20px);
}

.hero-card.floating-third {
    animation: floatCard3 8s ease-in-out infinite 5s;
    transform: translateX(-10px);
}

@keyframes floatCard1 {
    0%, 100% {
        transform: translateY(0px) translateX(-20px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) translateX(-15px) rotate(2deg);
    }
}

@keyframes floatCard2 {
    0%, 100% {
        transform: translateY(0px) translateX(20px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) translateX(25px) rotate(-2deg);
    }
}

@keyframes floatCard3 {
    0%, 100% {
        transform: translateY(0px) translateX(-10px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) translateX(-5px) rotate(1deg);
    }
}

.hero-card .card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 280px;
}

.hero-card .card:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.25);
}

.icon-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero-modern .hero-title {
        font-size: 2.5rem;
    }

    .hero-modern .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-modern .hero-description {
        font-size: 1rem;
    }

    .hero-visual {
        padding-left: 0;
        margin-top: 3rem;
    }

    .scroll-down-container {
        bottom: 20px;
    }

    .scroll-down-button {
        padding: 15px;
        border-radius: 40px;
    }

    .scroll-text span {
        font-size: 0.7rem;
    }

    .scroll-text small {
        font-size: 0.6rem;
    }

    .hero-card {
        max-width: 280px;
        margin: 0 auto;
    }
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    color: #ffd700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.bg-primary-soft {
    background-color: rgba(102, 126, 234, 0.1) !important;
}

.stat-mini h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.stat-mini small {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Hero section text colors */
.hero-modern .text-primary {
    color: #ffd700 !important;
}

.hero-modern .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* General section text colors */
.section-padding h2 {
    color: #2d3748 !important;
}

.section-padding .lead {
    color: #4a5568 !important;
}

.section-padding .text-muted {
    color: #6c757d !important;
}

/* Solutions section text colors */
.solution-card .card-title {
    color: #2d3748 !important;
    font-weight: 600;
}

.solution-card .card-text {
    color: #4a5568 !important;
}

/* Solutions-Services Page Content */
.content-wrapper h2 {
    color: #2d3748 !important;
    font-weight: 600;
}

.content-wrapper .lead {
    color: #4a5568 !important;
    font-weight: 500;
}

.content-wrapper p {
    color: #4a5568 !important;
}

.features-list h6 {
    color: #2d3748 !important;
    font-weight: 600;
}

.features-list .text-muted {
    color: #6c757d !important;
}

/* Services section heading colors */
.services-section-vnextgen h2 {
    color: #2d3748 !important;
}

.services-section-vnextgen .lead {
    color: #4a5568 !important;
}

/* CTA Section text colors */
.section-padding:last-of-type h2 {
    color: #2d3748 !important;
}

.section-padding:last-of-type .lead {
    color: #4a5568 !important;
}

/* Ensure all headings have proper contrast */
h1, h2, h3, h4, h5, h6 {
    color: #2d3748 !important;
    font-weight: 600;
}

/* Ensure all paragraph text has proper contrast */
p {
    color: #4a5568 !important;
    line-height: 1.6;
}

/* Override for white backgrounds */
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6 {
    color: #2d3748 !important;
}

.bg-light p {
    color: #4a5568 !important;
}

/* Ensure proper contrast for small text */
small {
    color: #6c757d !important;
}

/* Card text colors */
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
    color: #2d3748 !important;
    font-weight: 600;
}

.card p {
    color: #4a5568 !important;
}

/* Contact page specific styles */
.contact-form .form-label {
    color: #2d3748 !important;
    font-weight: 600;
}

.contact-info h5, .contact-info h6 {
    color: #2d3748 !important;
    font-weight: 600;
}

.contact-info .text-muted {
    color: #6c757d !important;
}

/* About page specific styles */
.trust-item h6 {
    color: #2d3748 !important;
    font-weight: 600;
}

.feature-item h5 {
    color: #2d3748 !important;
    font-weight: 600;
}

.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
    height: 500px;
}

.hero-card {
    position: absolute;
    width: 300px;
    z-index: 10;
}

.hero-card.floating {
    top: 20px;
    right: 20px;
    animation: floatCard 4s ease-in-out infinite;
}

.hero-card.floating-delayed {
    top: 180px;
    left: 0px;
    animation: floatCard 4s ease-in-out infinite 1.5s;
}

.hero-card.floating-third {
    top: 340px;
    right: 80px;
    animation: floatCard 4s ease-in-out infinite 3s;
}

/* Enhanced card styling for better visibility */
.hero-card .card {
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-card .icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff, #6610f2) !important;
}

/* Hero Section Specific Styles - Compact 25% height */
.hero-section {
    min-height: 25vh;
    padding: 3rem 0;
    position: relative;
}

.hero-section h1 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: #2563eb !important;
    border: none;
    font-weight: 600;
}

.hero-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white !important;
    background: transparent;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8, #6f42c1) !important;
}

.bg-success-soft {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

.bg-info-soft {
    background-color: rgba(23, 162, 184, 0.1) !important;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Value Proposition Section Styles */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.value-point {
    margin-bottom: 1rem;
}

.value-icon {
    font-size: 1.25rem;
}

.section-badge .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Value Proposition Section Text Colors */
.value-prop-content h2 {
    color: #2d3748 !important;
}

.value-prop-content .lead {
    color: #4a5568 !important;
}

.value-point h6 {
    color: #2d3748 !important;
    font-weight: 600;
}

.value-point .text-muted {
    color: #6c757d !important;
}

.feature-item h6 {
    color: #2d3748 !important;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Business Units Section */
.business-units-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.business-units-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(102,126,234,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.business-units-section .container {
    position: relative;
    z-index: 2;
}

.business-unit-card-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: auto;
}

.business-unit-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.business-unit-card-modern:nth-child(1):hover {
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.business-unit-card-modern:nth-child(2):hover {
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.2);
}

.business-unit-card-modern:nth-child(3):hover {
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.2);
}

.business-unit-card-modern:nth-child(4):hover {
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
}

.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}

.security-gradient {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.infrastructure-gradient {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

.cloud-gradient {
    background: linear-gradient(90deg, #17a2b8 0%, #6f42c1 100%);
}

.managed-gradient {
    background: linear-gradient(90deg, #ffc107 0%, #fd7e14 100%);
}

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

.business-unit-card-modern .card-title {
    color: #2d3748 !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.business-unit-card-modern .card-text {
    color: #4a5568 !important;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.business-unit-icon-modern {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: white;
    position: relative;
}

.security-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.infrastructure-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.cloud-icon {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%);
}

.managed-icon {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.25rem 0;
    font-size: 0.85rem;
    color: #4a5568 !important;
    font-weight: 500;
}

.business-unit-card-modern .btn-sm {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* Specific card backgrounds for each business unit */
.business-unit-card-modern:nth-child(1) {
    background: linear-gradient(135deg, #f8f9ff 0%, #e6e8ff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.business-unit-card-modern:nth-child(2) {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.business-unit-card-modern:nth-child(3) {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid rgba(6, 182, 212, 0.1);
}

.business-unit-card-modern:nth-child(4) {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(245, 158, 11, 0.1);
}

/* Business Unit Cards - Legacy Support */
.business-unit-card {
    border-radius: 15px;
    overflow: hidden;
}

.business-unit-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.business-unit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    margin-bottom: 1.5rem;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.author-avatar .avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
}

/* Award Cards */
.award-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.award-icon {
    transition: transform 0.3s ease;
}

.award-card:hover .award-icon {
    transform: scale(1.1);
}

.award-card .card-title {
    color: #2d3748 !important;
    font-weight: 600;
}

.award-card .card-text {
    color: #6c757d !important;
}

/* Partner Logos */
.partner-logo {
    transition: all 0.3s ease;
}

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

.partner-placeholder {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.partner-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.card:hover {
    box-shadow: var(--shadow-xl);
}

.card-body {
    padding: 2rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.solution-card,
.service-card {
    height: 100%;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.solution-card:hover,
.service-card:hover {
    border-left-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Service card specific styling */
.service-card .card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.service-card .card-title {
    color: #2d3748 !important;
    font-weight: 600;
}

.service-card .card-text {
    color: #4a5568 !important;
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b, #334155) !important;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
    color: var(--primary-light);
}

/* Compact Footer Contact */
.footer-contact-info {
    font-size: 0.9rem;
}

.contact-item-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.contact-item-compact i {
    width: 16px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.contact-link {
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #3b82f6 !important;
}

.contact-text {
    color: #cbd5e1;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.social-links .social-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-3px);
    color: white !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.social-links .social-link i {
    color: white !important;
    font-size: 1.1rem;
}

/* Specific social media brand colors on hover */
.social-links .social-link[href*="facebook"]:hover {
    background: #1877f2 !important;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-links .social-link[href*="linkedin"]:hover {
    background: #0077b5 !important;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-links .social-link[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important;
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-links .social-link[href*="twitter"]:hover {
    background: #1da1f2 !important;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-logo img {
    max-height: 40px;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%) brightness(0) invert(1);
}

.partner-logo:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Back to Top Button */
.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
}

.btn-back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

.btn-back-to-top.show {
    display: flex;
}

/* Feature Cards */
.feature-card {
    transition: var(--transition);
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

/* Service Items */
.service-item .service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Process Steps */
.process-step .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Team Cards */
.team-card {
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.team-avatar {
    position: relative;
    overflow: hidden;
}

/* Stats Cards */
.stat-card {
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Contact Items */
.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
}

/* Form Styles */
.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Accordion Styles */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: white;
    border: none;
    font-weight: 500;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1.5rem;
    background: white;
}

/* Navbar Scrolled State */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ===== SOLUTIONS & SERVICES TABS ===== */
.solutions-nav-wrapper {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.solutions-nav {
    border: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.solutions-nav .nav-link {
    background: white;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    min-width: 180px;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.solutions-nav .nav-link:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.solutions-nav .nav-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.solutions-nav .nav-link i {
    font-size: 1.1rem;
}

.solutions-nav .nav-link span {
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Tab Content Styling */
.tab-content {
    margin-top: 3rem;
}

.tab-pane {
    min-height: 500px;
    padding: 2rem 0;
}

.content-wrapper {
    padding-right: 2rem;
}

.features-list .feature-item {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.features-list .feature-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.image-wrapper {
    position: relative;
    padding: 2rem;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 20%, var(--primary-light) 20%);
    border-radius: 15px;
    z-index: -1;
}

.action-buttons {
    margin-top: 2rem;
}

.action-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1,
    .hero-compact h1 {
        font-size: 2.5rem;
    }

    .hero p,
    .hero-compact p {
        font-size: 1.1rem;
    }

    .hero-compact {
        min-height: 25vh; /* Even smaller on mobile */
        padding: 2rem 0;
    }

    .hero-compact h1 {
        font-size: 2rem;
    }

    /* Trust indicators mobile responsive */
    .trust-indicators-compact .d-flex {
        justify-content: center !important;
        gap: 0.5rem !important;
    }

    .trust-item-compact {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        border-radius: 15px;
    }

    .trust-text-compact {
        font-size: 0.75rem;
    }

    /* Modern Hero Mobile - Start from services tagline */
    .hero-clean {
        height: auto !important; /* Don't force full height */
        min-height: 60vh !important; /* Minimum height */
        padding: 0;
        margin-top: 0 !important;
        padding-top: 90px !important; /* Account for fixed navbar */
        position: relative;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }

    .hero-modern {
        min-height: 70vh;
        padding: 2rem 0;
    }

    /* Reduce particle count on mobile */
    .particle-3, .particle-4, .particle-7, .particle-8 {
        display: none;
    }

    /* Simplify shapes on mobile */
    .shape-4, .shape-5, .shape-6 {
        display: none;
    }

    /* Hide animated lines on mobile for performance */
    .animated-lines {
        display: none;
    }

    /* Adjust hero cards for mobile */
    .hero-card {
        max-width: 250px;
    }

    /* Ensure hero content starts from services tagline on mobile */
    .hero-clean .container {
        position: relative;
        z-index: 10;
        padding-top: 10px !important; /* Minimal top padding */
        margin-top: 0 !important;
        height: auto !important; /* Don't force full height */
        display: flex !important;
        align-items: flex-start !important; /* Start from top */
    }

    .hero-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* Hide hero badge and main title on mobile - start from services tagline */
    .hero-badge {
        display: none !important;
    }

    .hero-title-compact {
        font-size: 0 !important; /* Hide main title */
        line-height: 0 !important;
        margin-bottom: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Show only the services tagline */
    .hero-title-compact .text-gradient {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .hero-description-compact {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
        margin-top: 1rem !important;
    }

    /* Force hero section to be first visible content on mobile */
    .hero-clean {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        min-height: 100vh !important;
    }

    /* Ensure hero content starts immediately after navbar */
    .hero-clean .row {
        margin-top: 0 !important;
        padding-top: 20px !important;
    }

    .hero-image-container {
        height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-image-container {
        height: 350px;
        margin-top: 2rem;
    }

    .hero-card {
        width: 260px;
    }

    .hero-card.floating {
        top: 10px;
        right: 10px;
    }

    .hero-card.floating-delayed {
        top: 150px;
        left: 10px;
    }

    .hero-card.floating-third {
        top: 290px;
        right: 40px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .business-unit-card-modern {
        padding: 1.25rem;
    }

    /* Fixed header mobile adjustments */
    .main-content {
        padding-top: 80px;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .feature-icon, .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .process-step .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero h1,
    .hero-compact h1 {
        font-size: 2rem;
    }

    .hero-compact {
        min-height: 20vh; /* Very compact on small screens */
        padding: 1.5rem 0;
    }

    .hero-compact h1 {
        font-size: 1.8rem;
    }

    /* Modern Hero Small Mobile - Start from services tagline */
    .hero-clean {
        height: auto !important; /* Don't force full height */
        min-height: 50vh !important; /* Smaller minimum height */
        margin-top: 0 !important;
        padding-top: 90px !important; /* Account for fixed navbar */
        position: relative;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }

    /* Smaller mobile - hide hero badge and main title, show only services tagline */
    .hero-badge {
        display: none !important;
    }

    .hero-title-compact {
        font-size: 0 !important; /* Hide main title */
        line-height: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Show only the services tagline on smaller mobile */
    .hero-title-compact .text-gradient {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .hero-description-compact {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-top: 1rem !important;
    }

    .hero-modern {
        min-height: 70vh;
    }

    /* Ensure scroll arrow is visible on mobile */
    .scroll-down-arrow-compact {
        bottom: 2rem;
        padding: 0.8rem 1.2rem;
    }

    .scroll-text-compact {
        font-size: 0.8rem;
    }

    /* Further reduce animations on small mobile */
    .particles-container {
        display: none;
    }

    .floating-shapes .shape {
        animation-duration: 30s; /* Slower animations */
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-image-container {
        height: 280px;
    }

    .hero-card {
        width: 220px;
    }

    .hero-card.floating {
        top: 5px;
        right: 5px;
    }

    .hero-card.floating-delayed {
        top: 120px;
        left: 5px;
    }

    .hero-card.floating-third {
        top: 235px;
        right: 20px;
    }

    .business-unit-card-modern {
        padding: 1rem;
    }

    .business-unit-icon-modern {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* Fixed header small mobile adjustments */
    .main-content {
        padding-top: 70px;
    }

    .card-body {
        padding: 1.5rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

/* VNextGen-Style Services Section */
.services-section-vnextgen {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.services-cards-container {
    position: relative;
    padding-left: 60px;
}

.curved-line-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 1;
}

.curved-line {
    width: 100%;
    height: 100%;
}

.service-card-vnextgen {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.service-card-vnextgen:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-vnextgen:nth-child(2) {
    border-left-color: #007bff;
}

.service-card-vnextgen:nth-child(3) {
    border-left-color: #28a745;
}

.service-card-vnextgen:nth-child(4) {
    border-left-color: #dc3545;
}

.service-icon-vnextgen {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
}

.service-icon-vnextgen::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.2;
    z-index: -1;
}

.service-content-vnextgen {
    flex: 1;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.service-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-learn-more {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-learn-more:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.services-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Additional Component Styles */

/* Blog Cards */
.blog-card {
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-card .card-title a:hover {
    color: var(--primary-color) !important;
}

/* Job Cards */
.job-card {
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.job-tags .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Benefit Icons */
.benefit-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* SLA Cards */
.sla-card {
    transition: var(--transition);
}

.sla-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.sla-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

/* Category Filters */
.category-filters .btn {
    margin: 0.25rem;
    border-radius: 25px;
}

.category-filters .btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Newsletter Form */
.newsletter-form .form-control {
    border-radius: 50px;
}

.newsletter-form .btn {
    border-radius: 50px;
}

/* Featured Article */
.featured-article {
    overflow: hidden;
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Object Cover Utility */
.object-cover {
    object-fit: cover;
}

/* Process Flow */
.process-flow .step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Security Stats */
.security-stats .stat-card {
    transition: var(--transition);
}

.security-stats .stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Framework Items */
.framework-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.framework-item:last-child {
    border-bottom: none;
}

/* Article Meta */
.article-meta {
    font-size: 0.875rem;
}

.article-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Content Sections */
.content h3 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content h3:first-child {
    margin-top: 0;
}

.content ul {
    margin-bottom: 1.5rem;
}

.content ul li {
    margin-bottom: 0.5rem;
}

/* Pagination */
.pagination .page-link {
    border-radius: var(--border-radius);
    margin: 0 0.25rem;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

.pagination .page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* VNextGen Services Mobile Responsive */
@media (max-width: 768px) {
    .services-section-vnextgen {
        padding: 60px 0;
    }

    .services-cards-container {
        padding-left: 0;
        margin-top: 40px;
    }

    .curved-line-container {
        display: none;
    }

    .service-card-vnextgen {
        padding: 20px;
        margin-bottom: 20px;
    }

    .service-icon-vnextgen {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .btn-learn-more {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    /* Mega Menu Mobile */
    .mega-dropdown .dropdown-menu {
        min-width: 100%;
        max-width: 100%;
        margin-top: 0.5rem;
        padding: 1rem 0;
        left: 0;
        transform: none;
        position: relative;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .mega-menu-item {
        padding: 0.75rem;
    }

    .mega-menu-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }

    .mega-menu-text h6 {
        font-size: 0.9rem;
    }

    .mega-menu-text p {
        font-size: 0.8rem;
    }

    /* Solutions Tabs Mobile */
    .solutions-nav {
        gap: 0.25rem;
    }

    .solutions-nav .nav-link {
        min-width: auto;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        flex-direction: column;
        text-align: center;
    }

    .solutions-nav .nav-link i {
        font-size: 1rem;
        margin-bottom: 0.25rem;
        margin-right: 0;
    }

    .solutions-nav .nav-link span {
        font-size: 0.8rem;
    }

    .content-wrapper {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .tab-pane {
        min-height: auto;
        padding: 1rem 0;
    }

    .features-list .feature-item {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .image-wrapper {
        padding: 1rem;
        margin-top: 2rem;
    }

    .action-buttons {
        margin-top: 1.5rem;
        text-align: center;
    }

    .action-buttons .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        width: 100%;
        max-width: 250px;
    }
}

/* ===== RESOURCE PAGES STYLES ===== */
.case-study-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.industry-badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.result-metric h5 {
    font-size: 2rem;
    font-weight: 700;
}

.result-metric small {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
}

.tool-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.tool-commands {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.tool-highlight {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tool-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.command-examples ul li {
    margin-bottom: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.sysinternals-tools li,
.network-tools li {
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sysinternals-tools li:last-child,
.network-tools li:last-child {
    border-bottom: none;
}

/* Resource Page Headers - No top padding to remove gaps */
.hero-compact {
    padding: 0 0 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

/* Download Links */
.download-section .btn {
    transition: all 0.3s ease;
    border-width: 2px;
}

.download-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* CTA Boxes */
.cta-box {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn {
    margin: 0.5rem;
}

/* White Papers Styles */
.white-paper-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.white-paper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.paper-meta {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.download-count {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Documentation Styles */
.doc-category {
    border-left: 4px solid var(--primary-color);
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.doc-category:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.doc-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.doc-item:last-child {
    border-bottom: none;
}

.doc-item:hover {
    background: rgba(37, 99, 235, 0.05);
    padding-left: 1rem;
}

/* Support Center Styles */
.support-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.support-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.support-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--bg-light);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.1);
}

.faq-answer {
    padding: 1rem;
    background: white;
    display: none;
}

.faq-answer.show {
    display: block;
}

/* Downloads Page Styles */
.download-category {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.download-category-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    font-weight: 600;
}

.download-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.download-item:last-child {
    border-bottom: none;
}

.download-item:hover {
    background: var(--bg-light);
}

.download-info {
    flex: 1;
}

.download-meta {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.file-size {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.download-count {
    color: var(--success-color);
    font-weight: 600;
}

/* Mobile Responsive for Resource Pages */
@media (max-width: 768px) {
    .hero-compact {
        padding: 0 0 30px;
    }

    .hero-compact h1 {
        font-size: 2rem;
    }

    .tool-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .case-study-card .card-body {
        padding: 1.5rem;
    }

    .result-metric h5 {
        font-size: 1.5rem;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .download-item {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .download-item .btn {
        margin-top: 1rem;
        width: 100%;
    }
}

/* ========================================
   FINAL FONT VISIBILITY & ALIGNMENT FIXES
   ======================================== */

/* Hero sections - ensure text is always visible */
.hero-section h1,
.hero-compact h1,
.hero-modern h1,
.bg-gradient-primary h1 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    font-weight: 700 !important;
}

.hero-section p,
.hero-compact p,
.hero-modern p,
.bg-gradient-primary p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Fix text gradient issues */
.text-gradient {
    color: #ffd700 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Ensure proper button sizing */
.btn-cta {
    min-height: 38px;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Ensure anchor links work properly with fixed header */
section[id] {
    scroll-margin-top: 100px;
}

/* ProgenX Chat Widget - Single, Clean Design */
.progenx-chat-widget {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    font-size: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.progenx-chat-widget:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.progenx-chat-widget:hover .chat-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-10px);
}

.chat-tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.chat-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #333;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .progenx-chat-widget {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }

    .chat-tooltip {
        display: none; /* Hide tooltip on mobile */
    }
}

/* Ensure buttons are clickable and properly styled */
.hero-buttons .btn {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.hero-buttons .btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.action-buttons .btn {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.action-buttons .btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Fix any overlay issues that might block buttons */
.hero-section {
    position: relative;
    z-index: 1;
}

.hero-section::before {
    z-index: -1;
}

/* Ensure proper button spacing and visibility */
.hero-buttons {
    margin-top: 2rem;
    z-index: 10;
    position: relative;
}

.action-buttons {
    margin-top: 2rem;
    z-index: 10;
    position: relative;
}

/* Modern Service Cards - Ultra Compact Design */
.modern-service-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 180px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
}

.modern-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 123, 255, 0.2);
}

.service-icon-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
    border-radius: 12px;
}

.service-icon.security {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-icon.infrastructure {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-icon.cloud {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-icon.support {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h5 {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.2;
}

.service-content p {
    color: #718096;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    flex: 1;
}

.service-status {
    margin-top: auto;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.status-badge.optimized {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.status-badge.cloud-ready {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.status-badge.available {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
}

.service-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.service-link:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

/* Ultra Compact Cards - Matching Your Design - Updated with smaller icons */
.ultra-compact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 115px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.ultra-compact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    pointer-events: none;
}

.ultra-compact-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
}

.ultra-compact-card:hover .card-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.ultra-compact-card .card-icon-circle {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.4rem;
    font-size: 0.85rem !important;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.security-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.infrastructure-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cloud-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.support-bg {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.card-title-compact {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
}

.card-desc-compact {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active {
    background: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.status-dot.optimized {
    background: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.status-dot.cloud-ready {
    background: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.status-dot.available {
    background: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.status-text {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Responsive adjustments for ultra compact cards */
@media (max-width: 768px) {
    .ultra-compact-card {
        height: 120px;
        padding: 1.25rem;
    }

    .card-icon-circle {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .card-title-compact {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .card-desc-compact {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 576px) {
    .ultra-compact-card {
        height: 110px;
        padding: 1rem;
    }

    .card-icon-circle {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* Responsive adjustments for modern service cards */
@media (max-width: 768px) {
    .modern-service-card {
        height: 160px;
        padding: 1rem;
    }

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

    .service-content h5 {
        font-size: 0.9rem;
    }

    .service-content p {
        font-size: 0.8rem;
    }
}

/* MOBILE LOGO FIX - HIGHEST PRIORITY - ULTIMATE OVERRIDE */
@media screen and (max-width: 768px) {
    .navbar-brand,
    .mobile-logo-fix,
    a.navbar-brand,
    a.mobile-logo-fix {
        display: flex !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 99999 !important;
        max-width: 70% !important;
        padding: 0.25rem 0 !important;
        position: relative !important;
        background: transparent !important;
        transform: none !important;
        left: 0 !important;
        top: 0 !important;
        margin-right: auto !important;
    }

    .navbar-brand img,
    .mobile-logo-fix img,
    a.navbar-brand img,
    a.mobile-logo-fix img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 32px !important;
        width: auto !important;
        max-width: 150px !important;
        filter: brightness(1.3) contrast(1.3) !important;
        object-fit: contain !important;
        background: transparent !important;
        position: relative !important;
        z-index: 99999 !important;
        transform: none !important;
        left: 0 !important;
        top: 0 !important;
    }

    .navbar-brand div {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: 10px !important;
    }

    /* Ensure navbar container layout */
    .navbar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        position: relative !important;
    }

    /* Prevent toggler from overlapping logo */
    .navbar-toggler {
        margin-left: auto !important;
        flex-shrink: 0 !important;
        position: relative !important;
        z-index: 9999 !important;
    }

    /* Force Bootstrap navbar brand visibility */
    .navbar-dark .navbar-brand,
    .navbar-dark .mobile-logo-fix {
        color: white !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Override any hidden or collapsed states */
    .navbar-brand:not(.show),
    .mobile-logo-fix:not(.show) {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Documentation Styles */
.documentation-section {
    margin-bottom: 3rem;
}

.section-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.doc-category-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.doc-item {
    transition: all 0.3s ease;
    background: #fff;
}

.doc-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.quick-guide-card {
    transition: all 0.3s ease;
    background: #fff;
}

.quick-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.api-documentation-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

/* API Documentation Styles */
.api-info-cards .card {
    transition: all 0.3s ease;
}

.api-info-cards .card:hover {
    transform: translateY(-5px);
}

.code-block {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    overflow-x: auto;
}

.endpoint-card {
    transition: all 0.3s ease;
    background: #fff;
}

.endpoint-card:hover {
    background: #f8f9fa;
    border-color: #007bff !important;
}

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

/* Download Cards Enhancement */
.download-details .badge {
    font-size: 0.7rem;
}
