/* Root Variables */
:root {
    --primary-blue: #0066FF;
    --primary-orange: #FF6B35;
    --dark-bg: #0F1419;
    --light-bg: #1A1F2E;
    --accent-blue: #00A8FF;
    --text-light: #E0E6ED;
    --text-muted: #A0AEC0;
    --border-color: #2D3748;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 80px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms;
    --transition-base: 300ms;
    --transition-slow: 500ms;
    --easing: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 102, 255, 0.3);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Bootstrap Customization */
.bg-dark {
    background-color: var(--dark-bg) !important;
}

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

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

.text-warning {
    color: var(--primary-orange) !important;
}

.btn-gradient {
    padding: 12px 32px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: white;
    cursor: pointer;
    transition: all var(--transition-base) var(--easing);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

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

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.5);
    color: white;
    text-decoration: none;
}

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

.form-control {
    background-color: var(--light-bg) !important;
    border-color: var(--border-color) !important;
    color: var(--text-light) !important;
    border-radius: var(--radius-md) !important;
    transition: all var(--transition-base) var(--easing) !important;
}

.form-control:focus {
    border-color: var(--primary-orange) !important;
    background-color: var(--light-bg) !important;
    color: var(--text-light) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
}

/* ==================== Modern Minimal Hero Section ==================== */
.modern-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a0f1f 0%, #0f1419 50%, #0d1428 100%);
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    top: -100px;
    right: -100px;
    animation: floatOrb1 20s ease-in-out infinite;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c42);
    bottom: -100px;
    left: -100px;
    animation: floatOrb2 25s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #00d4ff, var(--primary-blue));
    top: 50%;
    right: 10%;
    animation: floatOrb3 22s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 50px); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, -50px); }
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text-wrapper {
    margin-bottom: 50px;
}

.hero-main-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.animated-underline {
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange), var(--primary-blue));
    background-size: 200% 100%;
    border-radius: 2px;
    animation: slideUnderline 3s ease-in-out infinite;
}

@keyframes slideUnderline {
    0% {
        width: 0%;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0%;
        left: 100%;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.75);
    margin: 40px 0 30px 0;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(0, 102, 255, 0.6);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
}

.btn-outline:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    border-color: rgba(0, 102, 255, 0.9);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2);
    transform: translateY(-2px);
}

.hero-stats-inline {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 30px;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
    margin-top: 30px;
}

.inline-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 102, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 102, 255, 0.6);
    animation: scroll-bounce 2s infinite;
}

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

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

/* Responsive Hero */
@media (max-width: 768px) {
    .modern-hero {
        min-height: 85vh;
        padding: 40px 15px;
        margin-top: 70px;
    }

    .hero-main-title {
        margin-bottom: 30px;
    }

    .animated-underline {
        bottom: -12px;
        height: 3px;
    }

    .hero-subtitle {
        margin: 30px 0 20px 0;
    }

    .hero-cta-group {
        gap: 12px;
        margin-bottom: 30px;
    }

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

    .hero-stats-inline {
        gap: 20px;
        padding: 20px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .modern-hero {
        min-height: 80vh;
        padding: 30px 10px;
        margin-top: 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn.btn-lg {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-stats-inline {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        margin-top: 20px;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .orb-1, .orb-2, .orb-3 {
        opacity: 0.08;
    }
}

/* Navigation */
.custom-navbar {
    background: linear-gradient(135deg, #0a0f1f 0%, #0d1428 50%, #0a0f1f 100%) !important;
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(0, 102, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 10, 20, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 12px 0 !important;
    position: relative;
    overflow: hidden;
}

.custom-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 102, 255, 0.1) 50%, transparent 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(0, 102, 255, 0.05) 35px,
            rgba(0, 102, 255, 0.05) 70px
        );
    pointer-events: none;
    animation: slideBackground 20s linear infinite;
    z-index: 0;
}

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

.custom-navbar > * {
    position: relative;
    z-index: 1;
}

/* Tech Arrays in Navbar */
.tech-array {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 0;
    color: rgba(0, 102, 255, 0.8);
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.6), 0 0 40px rgba(0, 102, 255, 0.3);
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.5));
}

.tech-array:hover {
    opacity: 0.6;
    transform: scale(1.15);
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.9), 0 0 60px rgba(0, 102, 255, 0.6);
}

.tech-array-1 {
    top: 10px;
    left: 5%;
    animation: techFlash 2.5s ease-in-out infinite;
}

.tech-array-2 {
    top: 15px;
    right: 8%;
    animation: techFlash 2.8s ease-in-out infinite 0.3s;
}

.tech-array-3 {
    bottom: 10px;
    left: 12%;
    animation: techFlash 3s ease-in-out infinite 0.6s;
}

.tech-array-4 {
    bottom: 15px;
    right: 5%;
    animation: techFlash 2.6s ease-in-out infinite 0.9s;
}

@keyframes techFlash {
    0% {
        opacity: 0.1;
        transform: scale(0.95);
        text-shadow: 0 0 5px rgba(0, 102, 255, 0.3), 0 0 15px rgba(0, 102, 255, 0.1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
        text-shadow: 0 0 30px rgba(0, 102, 255, 0.8), 0 0 60px rgba(0, 102, 255, 0.4);
    }
    100% {
        opacity: 0.1;
        transform: scale(0.95);
        text-shadow: 0 0 5px rgba(0, 102, 255, 0.3), 0 0 15px rgba(0, 102, 255, 0.1);
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--transition-base) var(--easing);
    gap: 15px;
    padding: 10px 0;
}

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

.brand-logo {
    height: 80px;
    width: 80px;
    border-radius: var(--radius-full);
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.4), inset 0 0 15px rgba(0, 102, 255, 0.2);
    object-fit: cover;
    border: 4px solid rgba(0, 168, 255, 0.3);
    transition: all var(--transition-base) var(--easing);
    padding: 4px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 168, 255, 0.1));
}

.navbar-brand:hover .brand-logo {
    box-shadow: 0 0 35px rgba(0, 102, 255, 0.6), inset 0 0 20px rgba(0, 102, 255, 0.3);
    border-color: rgba(0, 168, 255, 0.6);
}

.logo-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin: 0 !important;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    transition: all var(--transition-base) var(--easing);
    position: relative;
    margin: 0 !important;
    padding: 10px 18px !important;
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    overflow: hidden;
}

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

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

.navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(255, 107, 53, 0.2) 100%);
    border-color: rgba(0, 102, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    transform: translateY(-3px);
    color: var(--primary-blue) !important;
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-color: rgba(0, 102, 255, 0.8);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
    color: #fff !important;
}

.navbar-nav .nav-link.active:hover {
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.5);
    transform: translateY(-5px);
}

/* Centered Nav */
.nav-centered {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Mobile Nav Adjustments */
@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 15px;
    }
}

.navbar-toggler {
    border-color: var(--text-light);
}

.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%28224, 230, 237, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1419 50%, #1a1f2e 100%);
    overflow: hidden;
    margin-top: 60px;
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 168, 255, 0.05) 25%, rgba(0, 168, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 168, 255, 0.05) 75%, rgba(0, 168, 255, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 168, 255, 0.05) 25%, rgba(0, 168, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 168, 255, 0.05) 75%, rgba(0, 168, 255, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    background-position: 0 0, 10px 10px;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 30%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(0, 168, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    opacity: 0.15;
    filter: blur(1px);
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation-delay: 3s;
    animation: float 12s ease-in-out infinite;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: 30%;
    right: 15%;
    animation-delay: 5s;
    animation: float 14s ease-in-out infinite;
}

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

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

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 102, 255, 0.6);
    }
}

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

.hero-title {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--text-muted);
}

/* Services Section */
.services {
    background: var(--dark-bg);
    position: relative;
    padding: 80px 0;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 102, 255, 0.03) 25%, rgba(0, 102, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 102, 255, 0.03) 75%, rgba(0, 102, 255, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 102, 255, 0.03) 25%, rgba(0, 102, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 102, 255, 0.03) 75%, rgba(0, 102, 255, 0.03) 76%, transparent 77%, transparent);
    background-size: 80px 80px;
    pointer-events: none;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.8) 0%, rgba(15, 20, 25, 0.8) 100%);
    border: 1px solid rgba(0, 168, 255, 0.2) !important;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base) var(--easing);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    opacity: 0;
    transition: opacity var(--transition-base) var(--easing), top var(--transition-base) var(--easing), left var(--transition-base) var(--easing);
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 168, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base) var(--easing);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-orange) !important;
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.95) 0%, rgba(15, 20, 25, 0.95) 100%);
}

.service-card:hover::before {
    opacity: 1;
    top: 0;
    left: 0;
}

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

.service-card .card-body {
    position: relative;
    z-index: 1;
}

.service-icon {
    color: var(--primary-orange);
    animation: float 3s ease-in-out infinite;
    font-size: 48px !important;
    transition: transform var(--transition-base) var(--easing);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card .card-title {
    color: var(--text-light);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card:hover .card-title {
    color: var(--primary-orange);
}

.service-card .card-text {
    color: var(--text-muted) !important;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Portfolio Section */
.portfolio {
    background: var(--dark-bg);
    position: relative;
    padding: 50px 0;
    border-top: 1px solid rgba(0, 168, 255, 0.1);
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
}

.portfolio-hero {
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1419 50%, #1a1f2e 100%);
    margin-top: 60px;
    position: relative;
    padding: 20px 0 !important;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.portfolio-hero .text-center {
    position: relative;
    z-index: 1;
}

.portfolio-hero .hero-title {
    font-size: 1.8rem;
}

.portfolio-hero .hero-subtitle {
    font-size: 0.9rem;
}
.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 102, 255, 0.03) 25%, rgba(0, 102, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 102, 255, 0.03) 75%, rgba(0, 102, 255, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 102, 255, 0.03) 25%, rgba(0, 102, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 102, 255, 0.03) 75%, rgba(0, 102, 255, 0.03) 76%, transparent 77%, transparent);
    background-size: 80px 80px;
    pointer-events: none;
}

.portfolio-card {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.8) 0%, rgba(15, 20, 25, 0.8) 100%);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base) var(--easing);
    cursor: pointer;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.portfolio-card.success-card {
    border: 2px solid rgba(76, 175, 80, 0.3);
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.95) 0%, rgba(15, 20, 25, 0.95) 100%);
}

.portfolio-card.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, #4CAF50 0%, #45a049 100%);
    z-index: 10;
}

.portfolio-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.25);
    transform: translateY(-10px);
}

.portfolio-image {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--accent-blue);
    font-size: 48px;
    transition: all var(--transition-base) var(--easing);
}

.portfolio-card:hover .portfolio-image {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.25) 0%, rgba(255, 107, 53, 0.25) 100%);
    color: var(--primary-orange);
    transform: scale(1.1);
}

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 25, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base) var(--easing);
    backdrop-filter: blur(5px);
}

.portfolio-card:hover .overlay-content {
    opacity: 1;
}

.overlay-content h4 {
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 20px;
}

.overlay-content p {
    color: var(--text-light);
}

.portfolio-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-title {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.3;
    transition: color var(--transition-base) var(--easing);
}

.portfolio-card:hover .portfolio-title {
    color: var(--primary-orange);
}

.portfolio-description {
    flex: 1;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 0.9rem;
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(45, 176, 90, 0.15) 100%);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all var(--transition-base) var(--easing);
}

.portfolio-card.success-card:hover .success-badge {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25) 0%, rgba(45, 176, 90, 0.25) 100%);
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.2);
}

.success-badge i {
    font-size: 15px;
    animation: successPulse 2s ease-in-out infinite;
}

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

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: var(--accent-blue);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    transition: all var(--transition-base) var(--easing);
}

.portfolio-card:hover .tag {
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
    color: var(--primary-orange);
}

/* Responsive Design for Portfolio Cards */
@media (max-width: 1024px) {
    .portfolio-image {
        height: 140px;
        font-size: 42px;
    }

    .portfolio-title {
        font-size: 0.95rem;
    }

    .portfolio-body {
        padding: 12px;
    }

    .portfolio-description {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .portfolio {
        padding: 35px 0;
    }

    .portfolio-image {
        height: 130px;
        font-size: 40px;
    }

    .portfolio-title {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .portfolio-body {
        padding: 12px;
    }

    .portfolio-description {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .portfolio-tags {
        margin-top: 6px;
    }

    .tag {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .portfolio {
        padding: 25px 0;
    }

    .portfolio-image {
        height: 120px;
        font-size: 36px;
    }

    .portfolio-card {
        margin-bottom: 15px;
    }

    .portfolio-title {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    .portfolio-body {
        padding: 10px;
    }

    .portfolio-description {
        font-size: 0.75rem;
        margin-bottom: 5px;
        line-height: 1.3;
    }

    .success-badge {
        padding: 5px 8px;
        font-size: 0.7rem;
        margin-bottom: 6px;
    }

    .success-badge i {
        font-size: 0.8rem;
    }

    .portfolio-tags {
        margin-top: 5px;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .tag {
        padding: 3px 6px;
        font-size: 0.65rem;
    }

    .overlay-content h4 {
        font-size: 16px;
    }

    .overlay-content p {
        font-size: 0.8rem;
    }

    .view-details {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .portfolio {
        padding: 20px 0;
    }

    .portfolio-image {
        height: 110px;
        font-size: 32px;
    }

    .portfolio-title {
        font-size: 0.8rem;
    }

    .portfolio-body {
        padding: 8px;
    }

    .portfolio-description {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }

    .tag {
        padding: 2px 5px;
        font-size: 0.6rem;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-top: 1px solid rgba(0, 168, 255, 0.2);
    border-bottom: 1px solid rgba(0, 168, 255, 0.2);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 102, 255, 0.02) 25%, rgba(0, 102, 255, 0.02) 26%, transparent 27%, transparent 74%, rgba(0, 102, 255, 0.02) 75%, rgba(0, 102, 255, 0.02) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 102, 255, 0.02) 25%, rgba(0, 102, 255, 0.02) 26%, transparent 27%, transparent 74%, rgba(0, 102, 255, 0.02) 75%, rgba(0, 102, 255, 0.02) 76%, transparent 77%, transparent);
    background-size: 80px 80px;
    pointer-events: none;
}

.cta-section .text-center {
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    background: var(--light-bg);
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(0, 168, 255, 0.1);
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
}

.about h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* Company Photo Styles */
.company-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.2);
    z-index: 1;
}

.company-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-slow) var(--easing);
    object-fit: cover;
}

.company-image-container:hover .company-photo {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: var(--radius-lg);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base) var(--easing);
}

.company-image-container:hover .image-overlay {
    opacity: 1;
}

.stat-box {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.6) 0%, rgba(15, 20, 25, 0.6) 100%);
    border: 1px solid rgba(0, 168, 255, 0.2) !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-base) var(--easing);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.stat-box:hover {
    border-color: var(--primary-orange) !important;
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.8) 0%, rgba(15, 20, 25, 0.8) 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

.feature-box {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.7) 0%, rgba(15, 20, 25, 0.7) 100%);
    border: 1px solid rgba(0, 168, 255, 0.2) !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-base) var(--easing);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.feature-box:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.9) 0%, rgba(15, 20, 25, 0.9) 100%);
    border-color: var(--primary-orange) !important;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
}

.feature-box h5 {
    font-weight: 700;
    transition: color var(--transition-base) var(--easing);
}

.feature-box:hover h5 {
    color: var(--primary-orange) !important;
}

/* Contact Section */
.contact {
    background: var(--dark-bg);
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(0, 168, 255, 0.1);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 168, 255, 0.03) 25%, rgba(0, 168, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 168, 255, 0.03) 75%, rgba(0, 168, 255, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 168, 255, 0.03) 25%, rgba(0, 168, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 168, 255, 0.03) 75%, rgba(0, 168, 255, 0.03) 76%, transparent 77%, transparent);
    background-size: 80px 80px;
    pointer-events: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.contact-form .form-control {
    border-radius: var(--radius-md);
    background-color: rgba(26, 31, 46, 0.8) !important;
    border-color: rgba(0, 168, 255, 0.3) !important;
    transition: all var(--transition-base) var(--easing);
}

.contact-form .form-control:focus {
    border-color: var(--primary-orange) !important;
    background-color: rgba(26, 31, 46, 0.95) !important;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3) !important;
}

.contact-info {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    font-weight: 700;
    transition: color var(--transition-base) var(--easing);
    display: flex;
    align-items: center;
}

.contact-info h3 i {
    font-size: 24px;
    transition: transform var(--transition-base) var(--easing);
}

.contact-info:hover h3 i {
    transform: scale(1.2) rotate(-10deg);
}

.contact-info a {
    transition: all var(--transition-base) var(--easing);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-info a i {
    font-size: 18px;
}

.contact-info a:hover {
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(10, 14, 26, 0.95) 100%) !important;
    border-top: 2px solid rgba(0, 102, 255, 0.4) !important;
    padding: 80px 0 30px !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 102, 255, 0.3) 50%, transparent 100%);
    pointer-events: none;
    animation: slideUnderline 3s ease-in-out infinite;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 102, 255, 0.05) 50%, transparent 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(0, 102, 255, 0.03) 35px,
            rgba(0, 102, 255, 0.03) 70px
        );
    pointer-events: none;
    animation: slideBackground 20s linear infinite;
    z-index: 0;
}

.footer h5 {
    color: var(--primary-orange) !important;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color var(--transition-base) var(--easing);
    position: relative;
    z-index: 1;
}

.footer a {
    transition: all var(--transition-base) var(--easing);
    color: var(--text-muted) !important;
    position: relative;
    z-index: 1;
}

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

.footer ul li a:hover {
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 8px 12px;
    border: 2px solid rgba(0, 102, 255, 0.3);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base) var(--easing);
    font-size: 18px;
    color: var(--text-muted) !important;
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.15);
    color: var(--primary-blue) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.2);
}

/* Footer Animated Elements */
.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
    z-index: 0;
}

.footer-orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    bottom: 50px;
    right: 5%;
    animation: floatOrb1 20s ease-in-out infinite;
}

.footer-orb-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #00d4ff, var(--primary-blue));
    bottom: -100px;
    left: 10%;
    animation: floatOrb2 25s ease-in-out infinite;
}

.footer-tech-array {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 0;
    color: rgba(0, 102, 255, 0.6);
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.4), 0 0 40px rgba(0, 102, 255, 0.2);
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.4));
    pointer-events: none;
}

.footer-tech-array:hover {
    opacity: 0.4;
    transform: scale(1.15);
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.7), 0 0 60px rgba(0, 102, 255, 0.4);
}

.footer-tech-1 {
    top: 20px;
    left: 5%;
    animation: techFlash 2.5s ease-in-out infinite;
}

.footer-tech-2 {
    top: 30px;
    right: 8%;
    animation: techFlash 2.8s ease-in-out infinite 0.3s;
}

.footer-tech-3 {
    bottom: 40px;
    left: 15%;
    animation: techFlash 3s ease-in-out infinite 0.6s;
}

.footer-tech-4 {
    bottom: 30px;
    right: 15%;
    animation: techFlash 2.6s ease-in-out infinite 0.9s;
}

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

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .services,
    .about,
    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .navbar-nav {
        margin-top: 15px;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 8px 0;
    }
}

/* Utility Classes */
.min-vh-100 {
    min-height: 100vh;
}

.rounded-3 {
    border-radius: 0.5rem;
}

/* Additional Utilities */
.fade-in {
    animation: fadeInUp var(--transition-slow) var(--easing) forwards;
}

.slide-in {
    animation: slideInFromLeft var(--transition-slow) var(--easing) forwards;
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 255, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 102, 255, 0.8);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    body::before,
    .hero-background,
    .services::before,
    .about::before,
    .contact::before {
        display: none !important;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== Feature Carousel Section ==================== */
/* ==================== Tech Stats Section ==================== */
.tech-stats-section {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.5) 0%, rgba(26, 31, 46, 0.5) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

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

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 10px 0;
    position: relative;
    z-index: 1;
}

.stat-number::after {
    content: '+';
    position: absolute;
    right: -15px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Tech Stack Section */
.tech-stack-wrapper {
    margin-top: 3rem;
}

.tech-stack-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.tech-item {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.tech-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tech-item:hover::after {
    opacity: 1;
}

.tech-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(0, 102, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.25);
}

.tech-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.tech-item:hover .tech-icon {
    animation: float 0.6s ease-in-out;
}

.tech-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-icon {
        font-size: 2rem;
    }

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

    .tech-stack-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .tech-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 15px 10px;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

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

    .stat-number::after {
        right: -10px;
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .tech-stack-title {
        font-size: 1.3rem;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tech-item {
        padding: 15px 10px;
    }

    .tech-icon {
        font-size: 2rem;
    }

    .tech-item p {
        font-size: 0.85rem;
    }
}

/* ==================== Project Modal & Clickable Cards ==================== */
.portfolio-card {
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 25px 50px rgba(0, 102, 255, 0.3) !important;
}

.portfolio-image {
    position: relative;
}

.view-details {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .view-details {
    opacity: 1;
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal-content {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    margin: 40px auto;
    padding: 40px;
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-orange);
}

.project-icon-header {
    text-align: center;
    margin-bottom: 25px;
}

#projectIcon {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

.project-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-category {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.project-section {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.project-section:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.section-header i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.section-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 0;
}

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

.benefits-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Close modal on outside click */
.project-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .modal-content {
        width: 95%;
        padding: 25px;
        margin: 20px auto;
    }

    .project-title {
        font-size: 1.4rem;
    }

    #projectIcon {
        font-size: 3rem;
    }

    .project-section {
        padding: 15px;
    }

    .section-header h3 {
        font-size: 1rem;
    }

    .section-content {
        font-size: 0.9rem;
    }
}

    .carousel-title {
        font-size: 1.3rem;
        margin-bottom: 2rem !important;
    }
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-top: 1px solid rgba(0, 102, 255, 0.2);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(0, 102, 255, 0.8);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
}

.testimonial-header h4 {
    color: #0066FF;
    margin-bottom: 4px;
    font-weight: 600;
}

.testimonial-title {
    color: #999;
    font-size: 0.9rem;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.1rem;
    margin: 8px 0;
    letter-spacing: 2px;
}

.testimonial-message {
    color: #ccc;
    font-style: italic;
    margin-top: 12px;
    line-height: 1.6;
}

/* ==================== PRICING SECTION ==================== */
.pricing {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-top: 1px solid rgba(0, 102, 255, 0.2);
}

.pricing .table {
    color: #ccc;
    border-radius: 12px;
    overflow: hidden;
}

.pricing .table thead {
    background: rgba(0, 102, 255, 0.15);
    border-bottom: 2px solid #0066FF;
}

.pricing .table th {
    color: #0066FF;
    font-weight: 600;
    padding: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.pricing .table td {
    padding: 12px 15px;
    border-color: rgba(0, 102, 255, 0.2);
    vertical-align: middle;
}

.pricing .table tbody tr {
    transition: all 0.3s ease;
}

.pricing .table tbody tr:hover {
    background: rgba(0, 102, 255, 0.1);
}

.pricing .table strong {
    color: #00FF88;
    font-size: 1.1rem;
}

/* ==================== FAQ SECTION ==================== */
.faq {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-top: 1px solid rgba(0, 102, 255, 0.2);
}

.faq .accordion-button {
    background: rgba(0, 102, 255, 0.1);
    color: #0066FF;
    border: 1px solid rgba(0, 102, 255, 0.3);
    font-weight: 500;
    padding: 15px;
    transition: all 0.3s ease;
}

.faq .accordion-button:hover {
    background: rgba(0, 102, 255, 0.15);
}

.faq .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 255, 0.25);
    background: rgba(0, 102, 255, 0.2);
    border-color: #0066FF;
}

.faq .accordion-button:not(.collapsed) {
    background: rgba(0, 102, 255, 0.2);
    color: #0066FF;
    border-color: #0066FF;
}

.faq .accordion-body {
    background: rgba(255, 255, 255, 0.02);
    color: #ccc;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    padding: 15px;
    line-height: 1.6;
}

.faq .accordion-item {
    background: transparent;
    border: 1px solid rgba(0, 102, 255, 0.2);
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}
