﻿ /* --- UPDATED: Elevated Color Palette for Finance/Consulting --- */
        :root {
            --primary: #003366; /* Deep Navy Blue (More Professional) */
            --primary-light: #004d99;
            --secondary: #003366; /* Vibrant Orange/Amber (Strong Accent) */
            --secondary-dark: #cc6600;
            --dark: #1e2a4a; /* Dark Navy for text/footer */
            --light: #f4f6f9; /* Light Gray/Off-White for sections */
            --gray: #6c757d;
            --white: #ffffff;
            --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            --shadow-lift: 0 10px 30px rgba(0, 0, 0, 0.08); /* Professional lift shadow */
            --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15); /* Stronger hover shadow */
        }

        /* Global Typography and Base Styles */
        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.7; /* Increased line-height for readability */
            color: var(--dark);
            background-color: var(--light); /* Use light gray background */
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            line-height: 1.3;
            color: var(--dark);
        }

        /* Spacing for professionalism */
        .section-padding {
            padding: 100px 0; /* Slightly more vertical padding */
        }

        /* --- UPDATED: Title Separator Enhancement --- */
        .section-title {
            text-align: center;
            margin-bottom: 70px;
        }

            .section-title .display-5 {
                position: relative;
                padding-bottom: 20px;
                font-weight: 800;
            }

                .section-title .display-5::after {
                    content: '';
                    position: absolute;
                    left: 50%;
                    bottom: 0;
                    transform: translateX(-50%);
                    width: 100px; /* Longer accent line */
                    height: 5px; /* Thicker accent line */
                    background-color: var(--secondary);
                    border-radius: 2px;
                }

        /* Buttons */
        .btn {
            font-weight: 600;
            border-radius: 50px; /* Fully rounded buttons for a modern look */
            transition: var(--transition);
            padding: 12px 30px;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px; /* Increased letter spacing */
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: var(--gradient-primary);
            border: none;
            color: var(--white);
        }

            .btn-primary:hover {
                transform: translateY(-4px); /* Stronger lift */
                box-shadow: 0 10px 25px rgba(0, 51, 102, 0.6); /* Shadow matching new primary color */
                color: var(--white);
                background-color: var(--primary-light);
                background-image: none;
            }

        .btn-secondary {
            background-color: var(--secondary) !important;
            border: 2px solid var(--secondary); /* Border for secondary button */
            color: var(--white);
        }

            .btn-secondary:hover {
                background-color: var(--secondary-dark) !important;
                border-color: var(--secondary-dark);
                transform: translateY(-4px);
                box-shadow: 0 10px 25px rgba(255, 127, 0, 0.6);
                color: var(--white);
            }

        /* Header Styles */
        .top-info-bar {
            background-color: var(--dark);
            color: rgba(255, 255, 255, 0.85);
            font-size: 0.8rem;
            transition: var(--transition);
        }

        .sticky-header {
            background-color: var(--white);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* Stronger but clean shadow */
            position: sticky;
            top: 0;
            z-index: 1020;
            transition: var(--transition);
        }

        /* Scrolled header effect */
        .scrolled {
            padding-top: 5px;
            padding-bottom: 5px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        }

        /* --- UPDATED: Navigation Style --- */
        .navbar-nav .nav-link {
            font-weight: 600;
            color: var(--dark);
            padding: 10px 18px;
            border-bottom: 3px solid transparent;
            transition: var(--transition);
            border-radius: 0;
            background-color: transparent !important;
            position: relative;
        }

            .navbar-nav .nav-link::after {
                content: '';
                position: absolute;
                width: 0;
                height: 3px;
                bottom: 0;
                left: 50%;
                background-color: var(--primary);
                transition: var(--transition);
                transform: translateX(-50%);
            }

            .navbar-nav .nav-link.active::after,
            .navbar-nav .nav-link:hover::after {
                width: 80%;
            }

            .navbar-nav .nav-link.active,
            .navbar-nav .nav-link:hover {
                color: var(--primary);
            }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.75)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2011&q=80');
            background-size: cover;
            background-position: center;
            background-attachment: fixed; /* Parallax effect */
            padding: 160px 0; /* More vertical space for premium feel */
            text-align: center;
            position: relative;
            overflow: hidden;
        }

            .hero-section::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: radial-gradient(circle at center, transparent 10%, rgba(0, 0, 0, 0.3) 100%);
                z-index: 1;
            }

            .hero-section .container {
                position: relative;
                z-index: 2;
            }

            .hero-section h1 {
                color: var(--white);
                font-size: 4.5rem; /* Larger, more dominating title */
                font-weight: 800;
                margin-bottom: 30px;
                text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
                animation: fadeInUp 0.8s ease-out;
            }

            .hero-section p {
                font-size: 1.4rem;
                max-width: 900px;
                margin: 0 auto 50px;
                color: rgba(255, 255, 255, 0.9);
                font-weight: 300;
                animation: fadeInUp 0.8s ease-out 0.2s both;
            }

            .hero-section .btn {
                animation: fadeInUp 0.8s ease-out 0.4s both;
            }

        /* Service Cards - Enhanced */
        .service-card {
            background: var(--white);
            border-radius: 15px;
            padding: 40px;
            transition: var(--transition);
            box-shadow: var(--shadow-lift); /* Use custom shadow variable */
            border-left: 5px solid var(--secondary); /* Left border accent */
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }

            .service-card::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
                transition: left 0.7s ease;
            }

            .service-card:hover::before {
                left: 100%;
            }

            .service-card:hover {
                transform: translateY(-10px); /* Increased lift on hover */
                box-shadow: var(--shadow-hover); /* Stronger hover shadow */
            }

        .service-icon {
            width: 80px; /* Larger icon for impact */
            height: 80px;
            border-radius: 15px; /* Square/rounded icon shape */
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.2rem;
            margin-bottom: 25px;
            background: var(--gradient-primary);
            color: white;
            box-shadow: 0 8px 20px rgba(0, 51, 102, 0.4);
            transition: var(--transition);
        }

        .service-card:hover .service-icon {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 12px 25px rgba(0, 51, 102, 0.5);
        }

        .service-features {
            list-style: none;
            padding-left: 0;
            margin-bottom: 20px;
        }

            .service-features li {
                position: relative;
                padding-left: 25px;
                margin-bottom: 10px;
            }

                .service-features li::before {
                    content: '\f058';
                    font-family: 'Font Awesome 5 Free';
                    font-weight: 900;
                    position: absolute;
                    left: 0;
                    top: 0;
                    color: var(--primary); /* Use primary color for checkmarks */
                }

        .show-more-btn {
            background-color: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
            transition: var(--transition);
            align-self: flex-start;
            margin-top: auto;
        }

            .show-more-btn:hover {
                background-color: var(--primary);
                color: var(--white);
                transform: translateY(-3px);
                box-shadow: 0 8px 15px rgba(0, 51, 102, 0.3);
            }

        /* Call-to-Action Section */
        .cta-section {
            background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
            color: var(--white);
            padding: 70px 0;
            border-radius: 15px; /* Rounded corners for the entire block */
            margin-top: 50px; /* Add some margin above */
            position: relative;
            overflow: hidden;
        }

            .cta-section::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,202.7C672,203,768,181,864,165.3C960,149,1056,139,1152,149.3C1248,160,1344,192,1392,208L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
                background-size: cover;
                background-position: center;
            }

            .cta-section .container {
                position: relative;
                z-index: 1;
            }

            .cta-section h3 {
                color: var(--secondary); /* Use secondary color for the headline */
                font-weight: 800;
            }

            .cta-section .lead {
                color: rgba(255, 255, 255, 0.95);
            }

        /* Footer Enhancements */
        .footer-v2 {
            background-color: var(--primary-dark); /* Dark corporate color */
            color: var(--white);
        }

            .footer-v2 .footer-heading {
                color: var(--secondary-color);
                font-weight: 600;
                border-bottom: 2px solid rgba(255, 255, 255, 0.1);
                padding-bottom: 10px;
                margin-bottom: 20px;
            }

            .footer-v2 p, .footer-v2 li {
                font-size: 0.95rem;
                line-height: 1.8;
            }

            .footer-v2 .footer-links li a {
                color: rgba(255, 255, 255, 0.7);
                text-decoration: none;
                transition: color 0.3s;
            }

                .footer-v2 .footer-links li a:hover {
                    color: var(--secondary-color);
                    padding-left: 5px; /* Subtle hover effect */
                }

            .footer-v2 .footer-contact-info li {
                display: flex; /* For icon alignment */
                align-items: flex-start;
                color: rgba(255, 255, 255, 0.7);
            }

            .footer-v2 .footer-contact-info i {
                color: var(--secondary-color);
                margin-top: 4px;
            }

        .footer-social-link {
            display: inline-block;
            color: var(--white);
            width: 35px;
            height: 35px;
            line-height: 35px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 4px;
            margin-right: 10px;
            transition: all 0.3s;
        }

            .footer-social-link:hover {
                background-color: var(--secondary-color);
                border-color: var(--secondary-color);
                color: var(--primary-dark);
            }

        .footer-v2 hr {
            border-color: rgba(255, 255, 255, 0.1);
        }

        /* --- UPDATED: Modal Styles --- */
        .service-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1050;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            padding: 20px;
            box-sizing: border-box;
        }

            .service-modal.show {
                opacity: 1;
                visibility: visible;
            }

        .modal-content {
            background-color: var(--white);
            border-radius: 15px;
            width: 100%;
            max-width: 900px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
            transform: translateY(20px);
            transition: transform 0.4s ease;
            position: relative;
        }

        .service-modal.show .modal-content {
            transform: translateY(0);
        }

        .modal-img-container {
            width: 100%;
            height: 300px;
            overflow: hidden;
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
        }

        .modal-service-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

            .modal-service-img:hover {
                transform: scale(1.05);
            }

        .modal-header {
            padding: 30px 30px 0;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .modal-title {
            color: var(--primary);
            font-weight: 700;
            margin: 0;
            flex: 1;
        }

        .close-modal {
            background: var(--secondary);
            color: var(--white);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            margin-left: 15px;
            flex-shrink: 0;
        }

            .close-modal:hover {
                background: var(--secondary-dark);
                color: var(--white);
                transform: rotate(90deg);
            }

        .modal-body {
            padding: 20px 30px;
        }

            .modal-body h4 {
                color: var(--primary);
                margin-top: 20px;
                margin-bottom: 15px;
            }

        .modal-footer {
            padding: 0 30px 30px;
        }

        .btn-read-more {
            background-color: var(--primary);
            color: var(--white);
            padding: 12px 25px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            display: inline-block;
        }

            .btn-read-more:hover {
                background-color: var(--primary-light);
                color: var(--white);
                transform: translateY(-3px);
                box-shadow: 0 8px 15px rgba(0, 51, 102, 0.3);
            }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeInUp 0.8s ease-out both;
        }

        /* Stagger animation for service cards */
        .service-card {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease-out forwards;
        }

            .service-card:nth-child(1) {
                animation-delay: 0.1s;
            }

            .service-card:nth-child(2) {
                animation-delay: 0.2s;
            }

            .service-card:nth-child(3) {
                animation-delay: 0.3s;
            }

            .service-card:nth-child(4) {
                animation-delay: 0.4s;
            }

            .service-card:nth-child(5) {
                animation-delay: 0.5s;
            }

            .service-card:nth-child(6) {
                animation-delay: 0.6s;
            }

        /* Back to top button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: var(--secondary);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: var(--transition);
            z-index: 100;
            opacity: 0;
            visibility: hidden;
        }

            .back-to-top.show {
                opacity: 1;
                visibility: visible;
            }

            .back-to-top:hover {
                background-color: var(--secondary-dark);
                transform: translateY(-5px);
            }

        /* Responsive Adjustments */
        @media (max-width: 991.98px) {
            .hero-section {
                padding: 120px 0;
                background-attachment: scroll; /* Disable parallax on mobile */
            }

                .hero-section h1 {
                    font-size: 3.5rem;
                }

            .section-padding {
                padding: 70px 0;
            }

            .modal-img-container {
                height: 200px;
            }
        }

        @media (max-width: 767.98px) {
            .hero-section h1 {
                font-size: 2.8rem;
            }

            .hero-section p {
                font-size: 1.2rem;
            }

            .cta-section {
                text-align: center;
            }

                .cta-section .text-md-end {
                    text-align: center !important;
                }

            .service-card {
                padding: 25px;
            }

            .modal-header, .modal-body, .modal-footer {
                padding: 20px;
            }
        }