 :root {
            --primary: #5a2e96; /* A shade of purple */
            --primary-dark: #3f1e6b; /* A darker purple */
            --secondary: #6c757d;
            --dark: #212529; /* Black */
            --light: #f8f9fa;
            --cta-background: #212529; /* Black background for CTA section */
            --cta-text-color: #ffffff; /* White text for CTA section */
            --cta-button-bg: #5a2e96; /* Purple button background */
            --cta-button-text: #ffffff; /* White button text */
            --cta-button-hover-bg: #3f1e6b; /* Darker purple on hover */
        }
        
        /* Base Styles */
        body {
            font-family: 'Poppins', sans-serif;
            padding-top: 80px;
            color: var(--dark);
            overflow-x: hidden;
        }
        
        /* Navbar */
        .navbar {
            box-shadow: 0 2px 30px rgba(0,0,0,0.1);
            background-color: rgba(255, 255, 255, 0.95) !important;
            backdrop-filter: blur(10px);
            transition: all 0.4s ease;
            padding: 15px 0;
        }
        
        .navbar.scrolled {
            padding: 10px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            transition: all 0.3s ease;
        }
        
        .navbar-brand:hover {
            transform: scale(1.05);
        }
        
        .nav-link {
            font-weight: 500;
            padding: 0.5rem 1.2rem !important;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .nav-link:hover {
            color: var(--primary) !important;
        }
        
        .nav-link.active:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 1.2rem;
            width: calc(100% - 2.4rem);
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
            animation: underlineGrow 0.3s ease-out;
        }
        
        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            padding: 120px 0 100px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-section:before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 300px;
            height: 300px;
            background: rgba(90, 46, 150, 0.1); /* Adjusted to primary purple */
            border-radius: 50%;
            z-index: 0;
            animation: pulse 8s infinite alternate;
        }
        
        .hero-section:after {
            content: '';
            position: absolute;
            bottom: -100px;
            left: -100px;
            width: 400px;
            height: 400px;
            background: rgba(90, 46, 150, 0.05); /* Adjusted to primary purple */
            border-radius: 50%;
            z-index: 0;
            animation: pulse 10s infinite alternate;
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
        }
        
        .hero-title {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
            color: var(--secondary);
            margin-bottom: 30px;
            max-width: 500px;
        }
        
        .hero-image {
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            transform: perspective(1000px) rotateY(-10deg);
            transition: all 0.5s ease;
            position: relative;
            z-index: 1;
        }
        
        .hero-image:hover {
            transform: perspective(1000px) rotateY(0deg);
        }
        
        /* Services */
        .section-title {
            position: relative;
            display: inline-block;
            margin-bottom: 15px;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
            animation: underlineGrow 0.5s ease-out;
        }
        
        .section-subtitle {
            color: var(--secondary);
            margin-bottom: 40px;
        }
        
        .service-card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.4s ease;
            height: 100%;
            border-top: 4px solid var(--primary); /* Uses new primary purple */
            overflow: hidden;
            position: relative;
            z-index: 1;
            opacity: 0;
            transform: translateY(30px);
        }
        
        .service-card.animate {
            opacity: 1;
            transform: translateY(0);
        }
        
        .service-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(90, 46, 150, 0.03) 0%, rgba(90, 46, 150, 0.01) 100%); /* Purple tint for service card background */
            z-index: -1;
        }
        
        .service-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        }
        
        .service-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(90, 46, 150, 0.1); /* Uses new primary purple */
            border-radius: 20px;
            color: var(--primary); /* Uses new primary purple */
            font-size: 36px;
            transition: all 0.3s ease;
        }
        
        .service-card:hover .service-icon {
            background: var(--primary); /* Uses new primary purple */
            color: white;
            transform: rotate(10deg) scale(1.1);
        }
        
        /* Stats Section */
        .stats-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); /* Uses new primary purple gradient */
            color: white;
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }
        
        .stats-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            opacity: 0.2;
            z-index: 0;
        }
        
        .stat-item {
            text-align: center;
            padding: 20px;
            position: relative;
            z-index: 1;
            opacity: 0;
            transform: translateY(20px);
        }
        
        .stat-item.animate {
            opacity: 1;
            transform: translateY(0);
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: white;
        }
        
        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
            color: rgba(255,255,255,0.9);
        }
        
        /* Testimonials */
        .testimonial-card {
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            position: relative;
            margin: 15px;
            background: white;
            transition: all 0.3s ease;
            opacity: 0;
            transform: scale(0.95);
        }
        
        .testimonial-card.animate {
            opacity: 1;
            transform: scale(1);
        }
        
        .testimonial-card:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        }
        
        .testimonial-card:before {
            content: '"';
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 5rem;
            color: rgba(90, 46, 150, 0.1); /* Adjusted to primary purple */
            font-family: Georgia, serif;
            line-height: 1;
        }
        
        .testimonial-text {
            position: relative;
            z-index: 1;
            font-style: italic;
            margin-bottom: 20px;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
        }
        
        .testimonial-author img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 15px;
            object-fit: cover;
            border: 3px solid var(--primary); /* Uses new primary purple */
        }
        
        /* CTA Section */
        .cta-section {
            background: var(--cta-background); /* Black background for CTA */
            color: var(--cta-text-color); /* White text for CTA */
            padding: 80px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .cta-section:before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); /* Lighter opacity for pattern on black */
            animation: rotate 20s linear infinite;
            z-index: 0;
        }
        
        .cta-content {
            position: relative;
            z-index: 1;
        }
        
        .cta-title {
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .cta-btn {
            background: var(--cta-button-bg); /* Purple button background */
            color: var(--cta-button-text); /* White button text */
            font-weight: 600;
            padding: 12px 30px;
            border-radius: 50px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border: none; /* Remove default bootstrap button border */
        }
        
        .cta-btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: all 0.5s ease;
        }
        
        .cta-btn:hover {
            background: var(--cta-button-hover-bg); /* Darker purple on hover */
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* Slightly stronger shadow on hover */
        }
        
        .cta-btn:hover:before {
            left: 100%;
        }
        
        /* Footer */
        .footer {
            background: var(--dark);
            color: white;
            padding: 60px 0 30px;
            position: relative;
        }
        
        .footer:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark)); /* Uses new primary purple gradient */
        }
        
        .footer-links h5 {
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-links h5:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--primary); /* Uses new primary purple */
            transition: all 0.3s ease;
        }
        
        .footer-links h5:hover:after {
            width: 80px;
        }
        
        .footer-links ul {
            list-style: none;
            padding-left: 0;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        
        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            color: white;
            margin-right: 10px;
            transition: all 0.3s ease;
        }
        
        .social-icons a:hover {
            background: var(--primary); /* Uses new primary purple */
            transform: translateY(-3px);
        }
        
        .copyright {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 30px;
            margin-top: 30px;
            color: rgba(255,255,255,0.5);
        }
        
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary); /* Uses new primary purple */
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            box-shadow: 0 5px 20px rgba(90, 46, 150, 0.3); /* Adjusted shadow color */
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .back-to-top:hover {
            background: var(--primary-dark); /* Uses new primary dark purple */
            transform: translateY(-3px) scale(1.1);
        }
        
        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* General Primary Button Styling */
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            border-color: var(--primary-dark);
        }

        /* Adjust elements using text-primary or other primary colors */
        .navbar-brand .text-primary,
        .hero-content .text-primary {
            color: var(--primary) !important;
        }

        /* Animations */
        @keyframes underlineGrow {
            from {
                width: 0;
            }
            to {
                width: 50px;
            }
        }
        
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            100% {
                transform: scale(1.1);
            }
        }
        
        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .hero-section {
                padding: 100px 0 80px;
                text-align: center;
            }
            
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-image {
                margin-top: 50px;
                max-width: 100%;
            }
        }
        
        @media (max-width: 768px) {
            .navbar-brand {
                font-size: 1.5rem;
            }
            
            .hero-section {
                padding: 80px 0 60px;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .stat-item {
                margin-bottom: 30px;
            }
        }