:root {
    --primary-color: #0055FF;
    /* Bright Blue */
    --secondary-color: #00D4C0;
    /* Teal */
    --dark-color: #0D1B2A;
    /* Deep Blue */
    --light-color: #F0F4F8;
    /* Light Gray/White */
    --accent-color: #FFD700;
    /* Gold */
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Enhanced Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar-brand img {
    height: 60px;
    /* keep normal */
    width: auto;
    transform: scale(1.0);
    /* make it look bigger */
    transform-origin: center;
    /* scaling from center */
}


.navbar-brand img:hover {
    transform: scale(1.05);
}

.search-box {
    position: relative;
    display: none;
}

.search-box.active {
    display: block;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 8px;
    color: #333 !important;
    padding: 8px 16px !important;
    border-radius: 25px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(0, 85, 255, 0.08);
    transform: translateY(-2px);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 85, 255, 0.3);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.nav-link:hover:after {
    width: 70%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 8px;
    width: auto;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    transform: translateX(5px);
}

.btn-ask-xeven {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 85, 255, 0.3);
}

.btn-ask-xeven:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 85, 255, 0.5);
}

.btn-ask-xeven:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-ask-xeven:hover:before {
    left: 100%;
}

.phone-number {
    background: linear-gradient(135deg, var(--dark-color) 0%, #00284d 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.phone-number:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.background-video-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.8) 0%, rgba(0, 212, 192, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Services Section */
.services-tabs .nav-pills .nav-link {
    color: #333;
    margin: 5px;
    border-radius: 25px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.services-tabs .nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 85, 255, 0.3);
}

.tab-content {
    padding: 30px 0;
}

/* Counter Section */
.counter-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #00284d 100%);
    position: relative;
    overflow: hidden;
}

.counter-section:before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -100px;
    right: -100px;
}

.counter-section:after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -75px;
    left: -75px;
}

.counter {
    position: relative;
    z-index: 1;
}

.counter h3 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Client Logos */
.client-logos {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.logos-slider {
    display: flex;
    animation: slide 30s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 30px;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Industries Section */
.industry-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.industry-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-card:hover .card-img-top {
    transform: scale(1.1);
}

.industry-card .card-body {
    position: relative;
    z-index: 1;
}

/* Portfolio Section */
.portfolio-tabs .nav-tabs {
    border: none;
    justify-content: center;
}

.portfolio-tabs .nav-tabs .nav-link {
    border: none;
    color: #333;
    padding: 10px 25px;
    margin: 0 5px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.portfolio-tabs .nav-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 85, 255, 0.3);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #00284d 100%) !important;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    top: -150px;
    right: -150px;
}

.footer-links a,
.contact-info a,
.locations a {
    transition: color 0.3s ease;
}

.footer-links a:hover,
.contact-info a:hover,
.locations a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

.contact-item i,
.location-item i {
    width: 20px;
    text-align: center;
}

.newsletter-email {
    border: 1px solid #495057;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 25px 0 0 25px;
}

.newsletter-email::placeholder {
    color: #adb5bd;
}

.newsletter-email:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 85, 255, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: none;
    border-radius: 0 25px 25px 0;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-1px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 85, 255, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .search-box {
        margin-top: 15px;
    }

    .navbar-nav {
        margin-top: 15px;
    }

    .nav-link {
        margin: 5px 0;
        text-align: center;
    }

    .phone-number {
        margin-top: 10px;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }

    .display-4 {
        font-size: 2rem;
    }

    .counter h3 {
        font-size: 2.5rem;
    }

    .footer-company-info {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    footer {
        text-align: center;
    }

    .contact-item,
    .location-item {
        justify-content: center;
    }

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-form .btn {
        margin-top: 10px;
        border-radius: 25px !important;
        width: 100%;
    }

    .newsletter-email {
        border-radius: 25px;
        margin-bottom: 10px;
    }
}