:root {
    --primary-color: #0f172a;
    --secondary-color: #475569;
    --accent-color: #22c55e;
    --accent-hover: #16a34a;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-color: #334155;
    --heading-color: #0f172a;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* New Vibrant Colors */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

    --color-purple: #8b5cf6;
    --color-blue: #3b82f6;
    --color-pink: #ec4899;
    --color-orange: #f97316;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll from animations */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Bootstrap Overrides & Custom Components */

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.75rem;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary-color) !important;
    margin: 0 0.5rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #4f46e5 !important;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #4338ca 0%, #0891b2 100%);
}

.btn-outline-primary {
    color: #4f46e5;
    border: 2px solid #4f46e5;
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 10rem 0 8rem;
    background: radial-gradient(circle at top right, #e0e7ff 0%, #f8fafc 40%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    animation: float 10s infinite ease-in-out;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #e0e7ff;
    color: #4338ca;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* Cards */
.feature-card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}

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

/* Icon Colors */
.icon-blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.icon-green {
    background-color: #dcfce7;
    color: #16a34a;
}

.icon-purple {
    background-color: #f3e8ff;
    color: #9333ea;
}

.icon-orange {
    background-color: #ffedd5;
    color: #ea580c;
}

.icon-pink {
    background-color: #fce7f3;
    color: #db2777;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-dark);
    color: white;
    padding: 5rem 0;
}

.stat-item h3 {
    color: white;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #4f46e5;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: white;
    padding: 5rem 0 2rem;
}

footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: white;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px) rotate(360deg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Hero Animations */
.hero h1 {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero p {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-badge {
    animation: fadeInUp 0.8s ease-out forwards;
}