/* SJC Capital Partners Custom Styles */

:root {
    --primary-color: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

/* Override Bootstrap primary color */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
}
.btn-primary:hover { 
    background-color: var(--primary-dark); 
    border-color: var(--primary-dark);
}
.btn-outline-primary { 
    color: var(--primary-color); 
    border-color: var(--primary-color);
}
.btn-outline-primary:hover { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gray-800);
}

/* Ensure no black text in hero or other sections */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
    color: white !important;
}

.hero-section p {
    color: white !important;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand {
    position: relative;
    overflow: hidden;
}

.navbar-brand img {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 4px;
    position: relative;
    filter: brightness(1.05);
}

.navbar-brand img::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8, #2563eb, #1e40af);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.navbar-brand:hover img {
    transform: scale(1.08) rotate(1deg);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.25), 0 8px 15px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1) saturate(1.1);
}

@keyframes logoPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 12px 30px rgba(30, 58, 138, 0.2), 0 5px 12px rgba(0, 0, 0, 0.12);
    }
}

.navbar-brand img {
    animation: logoPulse 3s ease-in-out infinite;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Add padding for fixed navbar */
    padding-bottom: 40px;
}

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

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.2);
    animation: heroTitleEntrance 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
    position: relative;
}

.hero-section h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
    animation: underlineExpand 1.5s ease-out 0.8s both;
}

.hero-section p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 15px rgba(59, 130, 246, 0.1);
    animation: heroTextEntrance 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero-section .btn {
    animation: heroButtonEntrance 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Enhanced Download Memorandum Button */
.hero-section .btn[data-testid="button-download-memorandum"] {
    background: white;
    border: 2px solid white;
    color: #1e293b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-section .btn[data-testid="button-download-memorandum"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.hero-section .btn[data-testid="button-download-memorandum"]:hover::before {
    left: 100%;
}

.hero-section .btn[data-testid="button-download-memorandum"]:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #1e293b;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-section .btn[data-testid="button-download-memorandum"]:active {
    transform: translateY(-1px) scale(1.02);
}

.hero-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

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

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

@keyframes heroTitleEntrance {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroTextEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroButtonEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes underlineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.85) 100%), 
                url('../attached_assets/7_1757806309552.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    transform: scale(1.02); /* Slight scale to prevent white edges */
}

@media (max-width: 768px) {
    .hero-bg {
        background-position: 65% center;
    }
}



/* Scroll-triggered Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Strategy Section */
.strategy-operates-section {
    position: relative;
}

.strategy-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

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

.strategy-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
}

.strategy-card .icon-wrapper {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

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

.strategy-icon {
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.1));
}

.strategy-card:hover .strategy-icon {
    transform: rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(59, 130, 246, 0.2));
}

/* Investors Section */
.investors-section {
    position: relative;
}

.investor-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
}

.investor-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
    z-index: 3;
}

.investor-card:hover::after {
    transform: scaleX(1);
}

.investor-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.investor-card .icon-wrapper {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.05) 100%);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.investor-card:hover .icon-wrapper {
    transform: scale(1.15) rotate(-5deg);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.1) 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.investor-icon {
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.1));
}

.investor-card:hover .investor-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.2));
}

/* Who We Serve Section */
.who-we-serve-section {
    background: #ffffff;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.serve-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 85%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(147, 197, 253, 0.02) 0%, transparent 50%);
    z-index: 0;
}

.serve-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.serve-card:hover {
    transform: translateY(-12px) scale(1.02);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12), 0 0 48px rgba(59, 130, 246, 0.15);
}

.serve-card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.serve-card:hover .serve-card-glow {
    opacity: 1;
}

.serve-icon-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.serve-icon-bg {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border: 3px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
}

.serve-icon-bg::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.2));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.serve-card:hover .serve-icon-bg::before {
    opacity: 1;
}

.serve-card:hover .serve-icon-bg {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    border: 3px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.4);
}

.serve-icon {
    font-size: 2.5rem;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: relative;
}

.serve-card:hover .serve-icon {
    transform: scale(1.05);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-item {
    text-align: center;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.feature-item:hover {
    background: rgba(59, 130, 246, 0.03);
    transform: translateY(-8px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.1);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.15) rotate(-8deg);
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.feature-icon {
    font-size: 1.8rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.serve-cta-btn {
    position: relative;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    border: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.serve-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

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

.serve-cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    color: #ffffff;
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.4), 0 0 32px rgba(59, 130, 246, 0.2);
}

/* Stats Section */
.stats-section {
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%), 
                url('../attached_assets/7_1757806309552.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.stat-counter {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.card:hover .stat-counter {
    transform: scale(1.1);
}

.stats-section .card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

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

/* Services Section */
.service-image {
    height: 200px;
    overflow: hidden;
}

.service-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-overlay .bg-white {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-overlay .bg-white i {
    font-size: 2rem;
    line-height: 1;
}

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

.card:hover .service-bg {
    transform: scale(1.1);
}

/* Technology Section */
.technology-section {
    overflow: hidden;
    position: relative;
}

.technology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    animation: shine 3s infinite;
    z-index: 1;
    pointer-events: none;
}

/* Leverage Section */
.leverage-section {
    overflow: hidden;
    position: relative;
}

.leverage-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%), 
                url('../attached_assets/4_1757806309551.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Enhanced Technology Icons */
.tech-icon-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: 3px solid transparent !important;
    background-clip: padding-box !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    width: 70px !important;
    height: 70px !important;
    flex: 0 0 70px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    line-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tech-icon-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8, #2563eb, #1e40af);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-icon-container:hover::before {
    opacity: 1 !important;
}

.tech-icon-container:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3) !important;
}

.tech-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    transition: all 0.3s ease !important;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2)) !important;
    font-size: 2rem !important;
    color: transparent !important;
    line-height: 1 !important;
}

.tech-icon-container:hover .tech-icon {
    transform: scale(1.1) !important;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.4)) !important;
    animation: iconPulse 2s infinite !important;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.2);
    }
}

.technology-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%), 
                url('../attached_assets/5_1757806309552.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

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

footer h6 {
    color: var(--white) !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

footer h6::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 1px;
}

footer .text-muted {
    color: var(--gray-300) !important;
    transition: color 0.3s ease;
}

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

footer a.text-muted {
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

footer a.text-muted:hover {
    color: var(--primary-light) !important;
    transform: translateX(5px);
}

footer a.text-muted::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

footer a.text-muted:hover::before {
    width: 10px;
}

footer p {
    color: var(--gray-300) !important;
    line-height: 1.6;
}

footer .text-center p {
    color: var(--gray-400) !important;
}

footer hr {
    border-color: var(--gray-600) !important;
    margin: 2rem 0;
}

footer img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

footer img:hover {
    transform: scale(1.05);
}

/* Footer Contact Icons */
footer .bi {
    color: var(--primary-light);
    transition: all 0.3s ease;
}

footer .col-4:hover .bi {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Footer Links List */
footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
    position: relative;
}

footer ul li::before {
    content: '→';
    position: absolute;
    left: -20px;
    color: var(--primary-light);
    opacity: 0;
    transition: all 0.3s ease;
}

footer ul li:hover::before {
    opacity: 1;
    left: -15px;
}

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

/* Enhanced Visual Elements */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    margin: 2rem auto;
    border-radius: 2px;
}

.parallax-element {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* Section padding */
.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Improved animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

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

/* Feature Items Enhancement */
.feature-item {
    text-align: center;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.feature-item:hover {
    background: rgba(59, 130, 246, 0.03);
    transform: translateY(-8px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.1);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.15) rotate(-8deg);
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.feature-icon {
    font-size: 1.8rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-section .display-3 {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-section .lead {
        font-size: 1.125rem;
        line-height: 1.5;
        margin-bottom: 2rem !important;
    }
    
    .hero-section .btn-group-lg > .btn,
    .hero-section .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-section .d-flex.flex-column.flex-sm-row {
        gap: 1rem !important;
    }
    
    .stat-counter {
        font-size: 2.5rem;
    }
    
    .service-image {
        height: 150px;
    }
    
    .navbar-brand img {
        height: 40px !important;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .technology-section .row {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 90px 0 50px;
    }

    .hero-section .display-3 {
        font-size: 1.875rem;
        line-height: 1.2;
        margin-bottom: 1.25rem !important;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.75rem !important;
    }
    
    .hero-section .btn-group-lg > .btn,
    .hero-section .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
        width: 100%;
        margin-bottom: 0.75rem;
        text-align: center;
    }
    
    .hero-section .d-flex {
        flex-direction: column !important;
    }
    
    .stat-counter {
        font-size: 2rem;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}