:root {
    --primary: #290799;
    --primary-dark: #062476;
    --secondary: #0f766e;
    --accent: #dc2626;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --transition: all 0.3s ease;
}


body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* All H1 same size */
h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

/* All H2, H3, H4 same size */
h2,
h3,
h4 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
}

/* All paragraph text same size */
p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 2rem;
    transition: var(--transition);
    border-radius: 50px;
    margin: 1rem 2rem 0 2rem;
    width: auto;
    left: 2rem;
    right: 2rem;
}

.navbar.scrolled {
    padding: 0.7rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
    .dropdown-menu {
        position: static !important;
        float: none;
        box-shadow: none;
        margin-left: 1rem;
    }
}


.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
}

.logo-icon {

    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1.2rem;
    margin-left: 15px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    margin: 0 0.3rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    font-size: 1rem !important;
    -webkit-font-smoothing: antialiased;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: rgba(37, 99, 235, 0.05);
}

.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 8px;
}

.dropdown-item.active {
    background: rgba(37, 99, 235, 0.12) !important;
    color: var(--primary) !important;
    font-weight: 600;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.7rem 1rem;
    transition: var(--transition);
    text-align: center;
}

.dropdown-item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 100px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(37, 99, 235, 0.03);
    border-radius: 50%;
    z-index: 0;
}

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

.hero h1 {
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero p {
    color: #6c757d;
    margin-bottom: 2rem;

}

.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: var(--transition);
}

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

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

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* Features Section */
.features {
    padding: 40px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
    width: 8px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.icon-primary {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.icon-secondary {
    background: rgba(15, 118, 110, 0.1);
    color: var(--secondary);
}

.icon-accent {
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent);
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
}

/* Technology Section */
.technology {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.tech-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.tech-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

/* Pipeline Section */
.pipeline {
    padding: 100px 0;
    background: white;
}

.pipeline-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.pipeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.phase-badge {
    background: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.about-content h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.about-image {
    position: relative;
}

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

.stats {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

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

.stat-number {
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #20c997 0%, #0d6efd 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.btn-light {
    background: white;
    color: var(--primary);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-logo .logo-icon {
    color: var(--primary);
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .navbar {
        margin: 1rem 0.5rem 0 0.5rem;
        padding: 1rem 1.5rem;
        left: 0.5rem;
        right: 0.5rem;
    }

    .navbar-collapse {

        border-radius: 12px;

        margin-top: 1rem;

        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 40px 0 80px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

/* Animation for dropdown on hover */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

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

@media (max-width: 767.98px) {

    /* Hide footer nav columns */
    footer .col-lg-2,
    footer .col-md-4 {
        display: none;
    }


    .btn {
        width: 100%;
        max-width: 100%;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
    }


    /* Center footer main content */
    footer .col-lg-4 {
        text-align: center;
        margin: 0 auto;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-about {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply fade-in animation to sections */
section {
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.fade-in-active {
    opacity: 1;
    animation: fadeInUp 0.8s ease forwards;
}

/* Animate cards on scroll */
.card,
.feature-card,
[data-scroll-animate] {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

[data-scroll-animate].animate-in {
    opacity: 1;
}

/* Stagger animations for multiple elements */
.card:nth-child(1),
[data-scroll-animate]:nth-child(1) {
    animation-delay: 0s;
}

.card:nth-child(2),
[data-scroll-animate]:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3),
[data-scroll-animate]:nth-child(3) {
    animation-delay: 0.4s;
}

.card:nth-child(4),
[data-scroll-animate]:nth-child(4) {
    animation-delay: 0.6s;
}

.card:nth-child(5),
[data-scroll-animate]:nth-child(5) {
    animation-delay: 0.8s;
}

/* Parallax effect */
[data-parallax] {
    transition: transform 0.05s ease-out;
}

/* Smooth scroll behavior already set in html element */
html {
    scroll-behavior: smooth;
}