:root {
    --primary-color: #42289A;
    --primary-purple: #42289A;
    --primary-orange: #FF5C19;
    --primary-white: #FFFFFF;
    --purple-light: #6B46C1;
    --orange-hover: #E64F15;
    --secondary-color: #42289A;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.navbar {
    background: var(--primary-white) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(66, 40, 154, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1030;
}

.navbar.navbar-scrolled {
    background: var(--primary-purple) !important;
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar.navbar-scrolled .nav-link,
.navbar.navbar-scrolled .navbar-brand,
.navbar.navbar-scrolled .dropdown-toggle {
    color: var(--primary-white) !important;
}

.navbar.navbar-scrolled .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar.navbar-scrolled .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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.navbar-scrolled .btn-register {
    background: var(--primary-white) !important;
    color: var(--primary-purple) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-purple) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    color: var(--primary-purple) !important;
    transition: all 0.3s ease;
}

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background: var(--primary-orange);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 80%;
    }

    .nav-link:hover {
        color: var(--primary-orange) !important;
        transform: translateY(-2px);
    }

.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--purple-light) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 100px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-white);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: var(--primary-white);
    box-shadow: 0 5px 20px rgba(66, 40, 154, 0.1);
    overflow: hidden;
    padding: 2rem;
    position: relative;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(66, 40, 154, 0.1), transparent);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(66, 40, 154, 0.2);
        border-color: var(--primary-orange);
    }

        .feature-card:hover::before {
            opacity: 1;
        }

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--purple-light));
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-orange), #FF7D4D);
    transform: rotate(360deg);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-white);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.stats-section {
    background: #1a75ff; /* Changed to solid blue */
    color: white;
    padding: 5rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 2px solid rgba(66, 40, 154, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-orange);
        box-shadow: 0 0 0 0.2rem rgba(255, 92, 25, 0.25);
    }

.btn-primary {
    background: var(--primary-orange);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-primary:hover {
        background: var(--orange-hover);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 92, 25, 0.4);
    }

.btn-register {
    background: var(--primary-orange) !important;
    color: var(--primary-white) !important;
    border: none;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

    .btn-register:hover {
        background: var(--orange-hover) !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 92, 25, 0.3);
    }

.btn-orange {
    background: var(--primary-orange) !important;
    color: var(--primary-white) !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
}

    .btn-orange:hover {
        background: var(--orange-hover) !important;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(255, 92, 25, 0.4);
    }

.btn-outline-white {
    border: 2px solid var(--primary-white);
    color: var(--primary-white) !important;
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
}

    .btn-outline-white:hover {
        background: var(--primary-white) !important;
        color: var(--primary-purple) !important;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
    }

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 92, 25, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 92, 25, 0.5);
    }
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.pricing-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s;
    overflow: hidden;
}

    .pricing-card:hover {
        transform: scale(1.05);
    }

.pricing-header {
    background: #1a75ff; /* Changed to solid blue */
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer {
    background: var(--primary-purple);
    color: var(--primary-white);
    padding: 60px 0 20px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    color: var(--primary-white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        background: var(--primary-white);
        color: var(--primary-purple);
        transform: translateY(-5px) rotate(360deg);
    }

/* CTA Section style update */
section[style*="background: #42289A"] {
    background: var(--primary-purple) !important;
}

/* Add this new style for semi-transparent white text */
.text-white-60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Add new modern styles */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.hover-float {
    transition: transform 0.3s ease;
}

    .hover-float:hover {
        transform: translateY(-5px);
    }

.btn {
    border-radius: 12px;
    padding: 12px 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .btn:hover::before {
        width: 300px;
        height: 300px;
    }

/* Modern scroll animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

    [data-aos].aos-animate {
        opacity: 1;
        transform: translateY(0);
    }



.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}


/* Fix for Blazor Bootstrap navbar */
.navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
}

@media (max-width: 991.98px) {
    .navbar-expand-lg .navbar-collapse {
        display: none !important;
        width: 100%;
    }
    
    .navbar-expand-lg .navbar-collapse.show {
        display: block !important;
    }
    
    .navbar-expand-lg .navbar-nav {
        flex-direction: column;
        padding-top: 1rem;
    }
    
    .navbar-expand-lg .navbar-nav .nav-item {
        padding: 0.25rem 0;
    }
}

/* Override any Tailwind CSS conflicts */
.navbar .collapse {
    visibility: visible !important;
}

.navbar-toggler {
    border: 1px solid rgba(0,0,0,.1);
}

    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        box-shadow: 0 0 0 0.25rem;
    }

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* Gallery styles */
.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .gallery-item:hover {
        transform: scale(1.05) rotate(2deg);
        box-shadow: 0 10px 30px rgba(255, 92, 25, 0.4);
        z-index: 10;
    }

    .gallery-item img {
        transition: all 0.4s ease;
    }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Add parallax effect */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}