.navbar {
    background: rgba(0, 18, 51, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.2rem 0;
    }

    .navbar-brand img {
        height: 60px !important;
        transition: height 0.3s ease;
    }

    .navbar.scrolled .navbar-brand img {
        height: 50px !important;
    }

    .navbar-collapse {
        background: rgba(0, 18, 51, 0.98);
        padding: 0.75rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    .nav-item {
        margin: 0.25rem 0;
    }

    .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.95rem;
    }
}

.navbar.scrolled {
    background: rgba(0, 18, 51, 0.98);
    padding: 0.3rem 0;
}

.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

.navbar-nav {
    margin-left: auto;
}

.nav-item {
    position: relative;
    margin: 0 0.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 1rem 0.8rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0466c8;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

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

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

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: none;
    position: relative;
    border-bottom: 0px solid #fff;
    transition: all 300ms linear;
}

.navbar-toggler-icon:after,
.navbar-toggler-icon:before {
    width: 24px;
    position: absolute;
    height: 2px;
    background-color: #fff;
    top: 0;
    left: 0;
    content: '';
    z-index: 2;
    transition: all 300ms linear;
}

.navbar-toggler-icon:after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(45deg);
    background-color: #fff;
    height: 2px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(-45deg);
    background-color: #fff;
    height: 2px;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 18, 51, 0.98);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link {
        padding: 0.5rem 1rem !important;
    }

    .nav-link:after {
        display: none;
    }
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    background-color: #f8f9fa;
}

.contact-form .form-control:focus {
    border-color: #0466c8;
    box-shadow: 0 0 0 0.2rem rgba(4, 102, 200, 0.1);
    outline: none;
    background-color: #fff;
}

.contact-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #0466c8;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #fff;
    margin-top: 1rem;
}

.contact-form .btn-submit:hover {
    background-color: #035bb3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 102, 200, 0.2);
}

#success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

#success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .btn-submit {
        padding: 0.75rem 1.5rem;
    }
}

/* Global Styles */
:root {
    --primary: #001233;
    --secondary: #000814;
    --accent: #0466c8;
    --accent-glow: #0353a4;
    --light: #f8f9fa;
    --dark: #000000;
    --text: #333;
    --text-light: #6c757d;
    --gradient-primary: linear-gradient(135deg, #001233, #000814);
    --gradient-accent: linear-gradient(135deg, #0466c8, #023e7d);
    --gradient-dark: linear-gradient(135deg, #000000, #001233);
    --box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px;
    --glow: 0 0 15px rgba(4, 102, 200, 0.5);
    --section-padding: 3rem 0;
    --container-padding: 1rem;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* Navigation */
.navbar {
    background: rgba(0, 18, 51, 0.95);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

.navbar-nav {
    margin-left: auto;
}

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

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

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

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
}

/* Scrolled state */
.navbar.scrolled {
    background: rgba(0, 18, 51, 1);
    padding: 0.5rem 0;
}

.navbar.scrolled .navbar-brand img {
    height: 50px;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 18, 51, 0.98);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 8px;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link:after {
        display: none;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

/* Submit Button */
.btn-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Chat Button */
.chat-button {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 4rem 0 2rem;
}

.footer-links h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    margin-top: 1.5rem;
    position: relative;
    z-index: 10;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    margin-right: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.social-icons a i {
    position: relative;
    z-index: 2;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
    }

    .footer-links {
        margin-bottom: 2rem;
    }

    .chat-button {
        width: 40px;
        height: 40px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Global styles with custom scrollbar */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background-color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-glow);
}

/* Futuristic Navbar */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(4, 102, 200, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.98) !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(4, 102, 200, 0.3);
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition);
    filter: drop-shadow(0 0 5px rgba(4, 102, 200, 0.5));
}

.navbar-light .navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    padding: 8px 15px;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(4, 102, 200, 0.5);
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
    box-shadow: var(--glow);
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Futuristic Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 18, 51, 0.95)), url('https://images.unsplash.com/photo-1559066653-edfd1e4d3b37?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 220px 0 180px;
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(4, 102, 200, 0.2) 0%, rgba(0, 18, 51, 0) 70%);
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

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

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

/* Removing the glowing animation
@keyframes titleGlow {
    0% { text-shadow: 0 0 10px rgba(4, 102, 200, 0.5); }
    100% { text-shadow: 0 0 25px rgba(4, 102, 200, 0.8); }
}
*/

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 20px auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Floating particles with tech feel */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background-color: rgba(4, 102, 200, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(4, 102, 200, 0.5);
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-1000px) translateX(100px) rotate(720deg);
        opacity: 0;
    }
}

/* Futuristic buttons */
.btn {
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.btn:hover::after {
    height: 100%;
}

.btn-danger {
    background: var(--gradient-accent);
    border: none;
    box-shadow: 0 5px 15px rgba(4, 102, 200, 0.4);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(4, 102, 200, 0.6);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Section styling with tech accents */
section {
    padding: 120px 0;
    position: relative;
}

/* Section Headers */
.section-title {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
    position: relative;
    display: block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #0466c8;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
}

/* Stats with animated counters */
.stats-section {
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1464037866556-6812c9d1c72e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(4, 102, 200, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
}

.stats-item {
    text-align: center;
    padding: 30px 15px;
    position: relative;
    z-index: 1;
}

.stats-number {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(4, 102, 200, 0.8);
    position: relative;
    display: inline-block;
}

.stats-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    box-shadow: var(--glow);
}

.stats-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Capabilities */
.capability-card {
    transition: var(--transition);
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.capability-card .card-title {
    color: var(--primary);
    font-weight: 600;
}

.capability-card .card-title i {
    color: var(--accent);
}

/* Testimonials */
.testimonials-section {
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    position: relative;
}

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

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    padding: 0 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--accent);
    position: absolute;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-text::before {
    left: -10px;
    top: -20px;
}

.testimonial-text::after {
    right: -10px;
    bottom: -50px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent);
    font-size: 1.1rem;
}

.testimonial-position {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1464037866556-6812c9d1c72e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

/* Contact */
.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 20px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(0, 85, 164, 0.1);
    transition: var(--transition);
}

.contact-item:hover i {
    background-color: var(--accent);
    color: white;
    transform: scale(1.1);
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    background-color: #f8f9fa;
}

.contact-form .form-control:focus {
    border-color: #0466c8;
    box-shadow: 0 0 0 0.2rem rgba(4, 102, 200, 0.1);
    outline: none;
    background-color: #fff;
}

.contact-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #0466c8;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #fff;
    margin-top: 1rem;
}

.contact-form .btn-submit:hover {
    background-color: #035bb3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 102, 200, 0.2);
}

#success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

#success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .btn-submit {
        padding: 0.75rem 1.5rem;
    }
}

/* Footer with tech elements */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 100px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1464037866556-6812c9d1c72e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
}

.footer-links h5 {
    color: white;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
    box-shadow: var(--glow);
}

footer-logo {
    width: 175px !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 8px 0;
    position: relative;
}

.footer-links a::before {
    content: '>';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: var(--transition);
    color: var(--accent);
}

.footer-links a:hover {
    color: white;
    padding-left: 15px;
    text-shadow: 0 0 10px rgba(4, 102, 200, 0.5);
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.social-icons a {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: rgba(4, 102, 200, 0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: var(--transition);
    border: 1px solid rgba(4, 102, 200, 0.3);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

.social-icons a i {
    position: relative;
    z-index: 2;
}

.copyright {
    margin-top: 70px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    text-align: center;
}

.copyright p {
    opacity: 0.7;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Responsive styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    section {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
}

/* Expertise Section Styles */
.expertise-section .row {
    margin-bottom: 2rem;
}

.expertise-section .row:last-child {
    margin-bottom: 0;
}

.expertise-card {
    background: rgba(0, 18, 51, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

@media (max-width: 767px) {
    .expertise-section .col-md-6 {
        margin-bottom: 2rem;
    }
    
    .expertise-section .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .expertise-section .row.mt-5 {
        margin-top: 3rem !important;
    }
    
    .expertise-card {
        margin-bottom: 0;
    }
}

.expertise-card h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.expertise-card h4 i {
    color: var(--accent);
}

.expertise-card ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expertise-card ul li:last-child {
    margin-bottom: 0;
}

.expertise-card ul li i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* Page Header for Service Pages */
.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 18, 51, 0.95)), url('https://images.unsplash.com/photo-1464037866556-6812c9d1c72e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 220px 0 180px;
    overflow: hidden;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(4, 102, 200, 0.2) 0%, rgba(0, 18, 51, 0) 70%);
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

.page-header p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 20px auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Page Headers */
.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 18, 51, 0.95)), url('../assets/img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 220px 0 180px;
    overflow: hidden;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(4, 102, 200, 0.2) 0%, rgba(0, 18, 51, 0) 70%);
    animation: pulse 8s infinite alternate;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

.page-header p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 20px auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 18, 51, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background-color: #0466c8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(4, 102, 200, 0.15);
}

.service-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background-color: #035bb3;
    box-shadow: 0 6px 20px rgba(4, 102, 200, 0.2);
}

.service-card h3 {
    color: var(--primary);
    margin: 1rem 0;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card .btn {
    margin-top: auto;
    align-self: center;
    background-color: #0466c8;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-card .btn:hover {
    background-color: #035bb3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 102, 200, 0.2);
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    padding: 0;
    margin: 0 auto;
    max-width: 1800px;
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 20px 100px;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-content {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 1200px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.5rem;
}

.carousel-nav.prev {
    left: 0;
    padding-right: 5px;
}

.carousel-nav.next {
    right: 0;
    padding-left: 5px;
}

.carousel-nav:hover {
    background: var(--accent);
}

/* Section Titles */
.section-title {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
    position: relative;
    display: block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #0466c8;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
}

/* Feature Cards */
.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

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

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--accent-glow);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    transition: var(--transition);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--accent);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.process-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.process-number::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.process-step h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Responsive adjustments for service pages */
@media (max-width: 991px) {
    .page-header {
        padding: 150px 0 80px;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 767px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .process-step {
        margin-bottom: 30px;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mega Menu */
.mega-menu,
.dropdown-menu.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-top: 2px solid var(--accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 1000;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(10px);
    border-radius: 0;
    margin: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    float: none;
    min-width: 100%;
    box-sizing: border-box;
}

.nav-item.dropdown:hover .mega-menu,
.nav-item.dropdown:hover .dropdown-menu.mega-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu .container {
    width: 100%;
    padding: 0;
}

.mega-menu .row,
.dropdown-menu.mega-menu .row {
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mega-menu-column,
.mega-menu .col-md-3,
.mega-menu .col-md-4 {
    padding: 0 25px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.mega-menu-column h3,
.mega-menu h5 {
    position: relative;
    display: inline-block;
    margin-right: 15px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mega-menu-links,
.mega-menu .list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.mega-menu-links li,
.mega-menu .list-unstyled li {
    margin-bottom: 5px;
    display: block;
    width: 100%;
    position: relative;
}

.mega-menu-links li a,
.mega-menu .list-unstyled li a {
    display: block;
    color: white;
    padding: 8px 8px 8px 0;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    white-space: normal;
    background-color: transparent;
    text-align: left;
    position: relative;
    width: 100%;
    overflow: visible;
    line-height: 1.4;
}

.mega-menu-links li a:hover,
.mega-menu .list-unstyled li a:hover {
    color: var(--accent);
    transform: translateX(5px);
    background-color: transparent;
}

.mega-menu-links li a.active {
    color: var(--accent);
    font-weight: bold;
}

.mega-menu-img {
    text-align: center;
}

.mega-menu-img img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Remove default dropdown styling from Bootstrap */
.dropdown-menu.mega-menu li {
    width: 100%;
}

.dropdown-menu.mega-menu ul {
    padding: 0;
}

/* Fix for nested lists in mega menu */
.dropdown-menu.mega-menu .list-unstyled {
    position: static;
    float: none;
    border: 0;
    box-shadow: none;
    margin-top: 0;
    margin-bottom: 10px;
}

/* Enhanced testimonials */
.testimonial-carousel {
    padding: 20px 0 60px;
}

.testimonial-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-item:hover {
    transform: translateY(-10px);
}

.testimonial-item:before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--accent);
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--accent);
}

.client-details p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.testimonial-rating {
    color: #ffc107;
    margin-top: 10px;
}

.slick-dots {
    bottom: 20px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--accent);
}

/* Interactive services showcase */
.service-showcase {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-color: var(--primary);
    height: 400px;
    margin-top: 40px;
}

.service-nav {
    display: flex;
    overflow-x: auto;
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.service-nav-item {
    flex: 0 0 auto;
    padding: 15px 25px;
    color: white;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
}

.service-nav-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.service-nav-item.active, 
.service-nav-item:hover {
    color: var(--accent);
}

.service-nav-item.active:after,
.service-nav-item:hover:after {
    width: 70%;
}

.service-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 70px 30px 30px;
    color: white;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease;
}

.service-content.active {
    display: flex;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.service-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 18, 51, 0.8);
    z-index: -1;
}

.service-icon-large {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 20px;
    animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
    0% { text-shadow: 0 0 10px rgba(4, 102, 200, 0.5); }
    100% { text-shadow: 0 0 30px rgba(4, 102, 200, 0.9); }
}

/* Live chat button */
.chat-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: none;
    outline: none;
}

.chat-button:hover {
    transform: scale(1.1);
    background-color: var(--accent-glow);
}

.chat-button i {
    font-size: 1.8rem;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 350px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.chat-header {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-close:hover {
    color: var(--accent);
}

.chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-input input {
    flex-grow: 1;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 20px;
    outline: none;
    transition: var(--transition);
}

.chat-input input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(4, 102, 200, 0.2);
}

.chat-input button {
    background-color: var(--accent);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    background-color: var(--accent-glow);
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.message-content {
    padding: 10px 15px;
    border-radius: 20px;
    display: inline-block;
}

.message.incoming {
    align-self: flex-start;
}

.message.incoming .message-content {
    background-color: #f1f1f1;
}

.message.outgoing {
    align-self: flex-end;
    margin-left: auto;
}

.message.outgoing .message-content {
    background-color: var(--accent);
    color: white;
}

.message-time {
    font-size: 0.7rem;
    margin-top: 5px;
    opacity: 0.7;
    text-align: right;
}

/* Parallax sections */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.parallax-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
}

.parallax-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.parallax-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Testimonial Carousel */
.testimonial-carousel {
    padding: 20px 0;
}

.testimonial-item {
    background: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 15px;
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.client-details p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: var(--gray);
    font-style: normal;
}

/* Slick Carousel Custom Styling */
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.slick-prev:hover, .slick-next:hover {
    background: var(--primary-dark);
}

.slick-prev:before, .slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    opacity: 1;
}

.slick-prev:before {
    content: '\f104';
}

.slick-next:before {
    content: '\f105';
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--primary);
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--primary);
}

/* Parallax Section */
.parallax-section {
    position: relative;
    padding: 100px 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-align: center;
}

.parallax-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
}

.parallax-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.parallax-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Interactive Service Showcase */
.service-showcase {
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-nav {
    display: flex;
    background: var(--primary);
    color: #fff;
}

.service-nav-item {
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    flex: 1;
    transition: background 0.3s ease;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

.service-nav-item:hover, 
.service-nav-item.active {
    background: var(--primary-dark);
    border-bottom: 3px solid #fff;
}

.service-content {
    display: none;
    padding: 60px 40px;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 350px;
    color: #fff;
}

.service-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 0;
}

.service-content.active {
    display: block;
}

.service-content > * {
    position: relative;
    z-index: 1;
}

.service-icon-large {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* AOS Animation Enhancements */
[data-aos] {
    pointer-events: auto !important;
}

[data-aos].animated {
    pointer-events: auto !important;
}

/* General Layout Improvements */
.bg-light-gray {
    background-color: var(--light-gray);
}

.section-title {
    position: relative;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary);
}

.section-subtitle {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .service-nav {
        flex-wrap: wrap;
    }
    
    .parallax-content h2 {
        font-size: 2rem;
    }
    
    .parallax-content p {
        font-size: 1rem;
    }
    
    .testimonial-item {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .service-nav-item {
        flex-basis: 50%;
    }
}

@media (max-width: 575px) {
    .service-nav-item {
        flex-basis: 100%;
    }
}

/* Service titles in mega menu */
.mega-menu .row .col-md-3 h3,
.mega-menu .row .col-md-4 h3 {
    position: relative;
    display: inline-block;
    margin-right: 15px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Increase the mega menu width to ensure text fits */
@media (min-width: 992px) {
    .mega-menu,
    .dropdown-menu.mega-menu {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }
    
    .mega-menu .col-md-3,
    .mega-menu-column {
        min-width: 220px;
    }
    
    .mega-menu-links li a, 
    .mega-menu .list-unstyled li a {
        padding: 10px 0;
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* Fix mobile display of mega menu */
@media (max-width: 991px) {
    .mega-menu,
    .dropdown-menu.mega-menu {
        position: static;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 0 15px;
    }
    
    .mega-menu-column h3,
    .mega-menu h5,
    .mega-menu h3 {
        border-bottom: none;
        margin-top: 15px;
    }
    
    .mega-menu-links li a, 
    .mega-menu .list-unstyled li a {
        padding: 5px 0;
    }
    
    .mega-menu-img {
        display: none;
    }
}

/* Adding white color and size to the Font Awesome icons */
.service-icon i {
    color: white;
    font-size: 2rem;
}

/* Page Headers */
.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 18, 51, 0.95)), url('../assets/img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 220px 0 180px;
    overflow: hidden;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(4, 102, 200, 0.2) 0%, rgba(0, 18, 51, 0) 70%);
    animation: pulse 8s infinite alternate;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

.page-header p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 20px auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Header Image Section */
.header-image {
    background-color: var(--light);
    margin-top: -80px;
}

.header-image img {
    object-fit: cover;
    height: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    padding: 0 80px;
    margin: 60px auto;
    max-width: 1000px;
    color: #333;
    text-align: center;
}

.testimonial-carousel .carousel-inner {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-carousel .carousel-item {
    padding: 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-quote {
    font-style: italic;
    position: relative;
    padding: 0 40px;
    margin: 20px auto;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    color: #333;
    max-width: 800px;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 60px;
    color: #0466c8;
    font-family: Georgia, serif;
    line-height: 1;
}

.carousel-indicators {
    position: relative;
    bottom: -30px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
    opacity: 1;
    margin: 0;
    transition: all 0.3s ease;
    border: 2px solid #0466c8;
    cursor: pointer;
    position: relative;
}

.carousel-indicators [data-bs-target]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: #0466c8;
    transition: transform 0.3s ease;
    transform: translate(-50%, -50%) scale(0);
}

.carousel-indicators .active {
    border-color: #0466c8;
}

.carousel-indicators .active::after {
    transform: translate(-50%, -50%) scale(1);
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
    width: 48px;
    height: 48px;
    background: #0466c8;
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .carousel-control-prev {
    left: 0;
}

.testimonial-carousel .carousel-control-next {
    right: 0;
}

.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover {
    background: #035bb3;
}

.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    background-size: 100%;
    filter: brightness(0) invert(1);
}

.client-name {
    color: #666;
    font-size: 1rem;
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
    display: block;
    width: 100%;
}

.text-warning {
    text-align: center;
    display: block;
    width: 100%;
}

/* Testimonials */
.testimonials-wrapper {
    position: relative;
    max-width: 1800px;  /* Increased from 1200px by 50% */
    margin: 0 auto;
    padding: 40px 120px; /* Increased side padding to accommodate larger nav buttons */
}

.testimonial-carousel {
    display: flex;
    position: relative;
    margin: 0 auto;
}

.testimonial-item {
    flex: 0 0 100%;
    padding: 20px 40px;  /* Increased horizontal padding */
    text-align: center;
    transition: transform 0.5s ease;
}

.testimonial-content {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 15px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    color: #001233;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px; /* Increased from 40px */
    height: 60px; /* Increased from 40px */
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.5rem; /* Increased icon size */
}

.carousel-nav.prev {
    left: 20px; /* Adjusted position */
}

.carousel-nav.next {
    right: 20px; /* Adjusted position */
}

.carousel-nav:hover {
    background: var(--accent);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slick-slide {
        padding: 0 0.5rem;
    }
    
    #testimonials .container-fluid {
        padding: 0 1.5rem;
    }
}

#testimonials {
    padding: 5rem 0;
}

#testimonials > .container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}

#testimonials .testimonial-carousel {
    position: relative;
    width: 100%;
    margin: 3rem auto 0;
}

#testimonials .testimonial-item {
    padding: 3rem;
    margin: 0 auto;
    max-width: 1000px;
}

#testimonials .carousel-nav.prev {
    left: -4rem;
}

#testimonials .carousel-nav.next {
    right: -4rem;
}

@media (max-width: 1400px) {
    #testimonials > .container {
        max-width: 1400px;
        padding: 0 5rem;
    }
    
    #testimonials .carousel-nav.prev {
        left: 0;
    }
    
    #testimonials .carousel-nav.next {
        right: 0;
    }
}

@media (max-width: 768px) {
    #testimonials > .container {
        padding: 0 2rem;
    }
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1800px;
}

@media (max-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
    }
}

.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    display: none;
}

.contact-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    background-color: #f8f9fa;
}

.contact-form .form-control:focus {
    border-color: #0466c8;
    box-shadow: 0 0 0 0.2rem rgba(4, 102, 200, 0.1);
    outline: none;
    background-color: #fff;
}

.contact-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #0466c8;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #fff;
    margin-top: 1rem;
}

.contact-form .btn-primary:hover {
    background-color: #035bb3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 102, 200, 0.2);
}

#success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

#success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .btn-submit {
        padding: 0.75rem 1.5rem;
    }
}

/* Expertise Section Styling */
.expertise-section {
    background: linear-gradient(135deg, #001233 0%, #001845 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.expertise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/img/grid-pattern.png');
    opacity: 0.1;
    pointer-events: none;
}

.featured-engine {
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.featured-engine:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.featured-engine h3 {
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.featured-engine .lead {
    color: #a3b1cc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.featured-engine ul {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin: 0 auto;
    max-width: 400px;
}

.featured-engine li {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.featured-engine li:last-child {
    margin-bottom: 0;
}

.featured-engine li i {
    background: rgba(25, 135, 84, 0.2);
    padding: 0.5rem;
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.expertise-card h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.expertise-card h4 i {
    color: var(--accent);
}

.expertise-card ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expertise-card ul li:last-child {
    margin-bottom: 0;
}

.expertise-card ul li i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* Section title styling */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #000, #333);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: #a3b1cc;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Override for expertise section (light text on dark background) */
.expertise-section .section-title {
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Logo styling */
.logo-small {
    height: 100px !important;
    transition: height 0.3s ease;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .expertise-card {
        margin-bottom: 1.5rem;
    }
    
    .col-md-6:last-child .expertise-card {
        margin-bottom: 0;
    }
}

.expertise-card {
    background: rgba(0, 18, 51, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .expertise-card {
        margin-bottom: 30px;
    }
    
    .col-md-6:last-child .expertise-card {
        margin-bottom: 0;
    }
    
    #expertise .row {
        margin-bottom: 20px;
    }
    
    #expertise .row:last-child {
        margin-bottom: 0;
    }
}

.expertise-card h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.expertise-card h4 i {
    color: var(--accent);
}

.expertise-card ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expertise-card ul li:last-child {
    margin-bottom: 0;
}

.expertise-card ul li i {
    color: var(--accent);
    font-size: 0.8rem;
}