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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0f1c;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(0, 255, 157, 0.1) 0%, transparent 70%);
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0, 255, 157, 0.03) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(0, 191, 255, 0.03) 50%, transparent 51%);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateX(-50px) translateY(-50px);
    }

    100% {
        transform: translateX(50px) translateY(50px);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
}

header.scrolled {
    padding: 0.5rem 0;
    padding-top: 0px !important;
}

.navbar-custom {
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(1px);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 25px;
    padding: 1rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .navbar-custom {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 0.8rem 2rem;
}

.navbar-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.1), rgba(0, 191, 255, 0.05));
    z-index: -1;
}

.navbar-custom::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff9d, #00bfff, #00ff9d);
    border-radius: 25px;
    z-index: -2;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .navbar-custom::after {
    border-radius: 0;
}

.navbar-custom:hover::after {
    opacity: 0.3;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00ff9d, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(0, 255, 157, 0.5));
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.8rem 1.5rem !important;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: transparent;
    border: 1px solid transparent;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: #0a0f1c !important;
    background: linear-gradient(135deg, #00ff9d, #00bfff);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 255, 157, 0.1);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    opacity: 1;
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.2), rgba(0, 191, 255, 0.2)) !important;
    color: #00ff9d !important;
    border-color: rgba(0, 255, 157, 0.4);
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00ff9d, #00bfff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
    }

    to {
        text-shadow: 0 0 30px rgba(0, 191, 255, 0.5);
    }
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00ff9d, #00bfff);
    color: #0a0f1c;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 255, 157, 0.3);
    color: #0a0f1c;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.code-window {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 10px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

.code-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f57;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #28ca42;
}

.code-content {
    color: #00ff9d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.code-line {
    opacity: 0;
    animation: typeWriter 0.5s ease-out forwards;
}

.code-line:nth-child(1) {
    animation-delay: 0.5s;
}

.code-line:nth-child(2) {
    animation-delay: 1s;
}

.code-line:nth-child(3) {
    animation-delay: 1.5s;
}

.code-line:nth-child(4) {
    animation-delay: 2s;
}

@keyframes typeWriter {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

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

/* Services Section */
.services {
    padding: 5rem 0;
    background: rgba(15, 23, 42, 0.5);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #00ff9d, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00ff9d;
    box-shadow: 0 20px 40px rgba(0, 255, 157, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: #00ff9d;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00bfff;
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 10px;
    border-left: 3px solid #00ff9d;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 255, 157, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    color: #00ff9d;
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Statistics */
.stats {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.1), rgba(0, 191, 255, 0.1));
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #00ff9d;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: rgba(10, 15, 28, 0.95);
    padding: 3rem 0 1rem;
}

.footer-section h4 {
    color: #00ff9d;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00ff9d;
}

/* Bootstrap Responsive Overrides */
.navbar-toggler {
    border: 1px solid rgba(0, 255, 157, 0.4);


    @media (max-width: 575.98px) {
        .hero-text h1 {
            font-size: 2rem;
        }
    }
}