/**
 * Custom color and layout overrides for AD CodeNexus
 * Primary Cyan: #00b4d8
 * Primary Blue: #0077b6
 * Dark Navy: #023e8a
 */

:root {
  --primary-color: #00b4d8;
  --secondary-color: #0077b6;
  --bg-dark: #050814;
}

body {
    background-color: var(--bg-dark);
    color: #f8f9fa;
    /* Hide stray characters using negative text indent for invalid tags */
}

/* ============================================================
   Missing Structural Layouts for ve- Components 
============================================================ */

/* Navbar Structure */
.ve-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 8, 20, 0.95) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.ve-nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.ve-logo img {
    height: auto;
}

.ve-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ve-nav ul li a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    text-decoration: none;
    transition: color 0.3s ease;
}
.ve-nav ul li a:hover {
    color: var(--primary-color) !important;
}

/* Hide the mobile toggle on desktop */
.ve-toggler, .ve-mobile-menu {
    display: none;
}

/* Hero Section */
.ve-hero {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    gap: 40px;
    overflow: hidden;
}

.ve-hero-left {
    flex: 1;
}

.ve-hero-right {
    flex: 1;
    position: relative;
    height: 500px;
}

.ve-hero-img-main, .ve-hero-img-accent {
    position: absolute;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
}
.ve-hero-img-main {
    width: 80%;
    height: 80%;
    top: 0;
    right: 0;
    z-index: 1;
}
.ve-hero-img-accent {
    width: 60%;
    height: 60%;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 5px solid var(--bg-dark);
}
.ve-float-card {
    position: absolute;
    bottom: 50px;
    right: -20px;
    z-index: 3;
    background: rgba(10,20,40,0.9);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Buttons */
.ve-btn-primary {
    background: linear-gradient(90deg, #00b4d8, #0077b6) !important;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
}
.ve-btn-ghost {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    margin-left: 15px;
}
.ve-hero-btns {
    margin-top: 30px;
    margin-bottom: 40px;
}
.ve-hero-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}
.ve-stat strong {
    font-size: 24px;
    color: var(--primary-color);
    display: block;
}
.ve-stat span {
    font-size: 13px;
    color: #adb5bd;
}
.ve-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* Grids & Cards */
.ve-section {
    padding: 80px 0;
    overflow-x: hidden;
}
.ve-services-grid, .ve-counter-grid, .ve-testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ve-service-card, .ve-insight-card, .ve-whyus-content {
    background: rgba(10, 20, 40, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    word-wrap: break-word; /* Responsive fix for long text */
}
.ve-service-card:hover, .ve-insight-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.ve-service-icon {
    font-size: 40px;
    color: #00b4d8 !important;
    margin-bottom: 20px;
}
.ve-card-link {
    color: var(--primary-color) !important;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

.ve-insight-img {
    height: 200px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.ve-insight-body h5 a {
    color: #fff !important;
    text-decoration: none;
}
.ve-insight-cat {
    color: var(--primary-color);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

/* Counters */
.ve-counter-item {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}
.ve-counter-item i {
    font-size: 35px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.ve-counter-item strong {
    font-size: 40px;
    color: #fff;
}
.ve-counter-item p {
    margin-bottom: 0;
}

/* Footer */
.ve-footer {
    background: #02040a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 20px;
}
.ve-footer-title {
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 15px;
}
.ve-footer-brand p, 
.ve-footer-contact li,
.ve-footer-bottom-inner p {
    color: #adb5bd !important;
}
.ve-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ve-footer-links li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}
.ve-footer-links li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
.ve-footer-links li a {
    color: #adb5bd !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}
.ve-footer-links li a:hover {
    color: #00b4d8 !important;
    padding-left: 5px;
}

.ve-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ve-footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.ve-footer-contact li i {
    color: var(--primary-color);
}

.ve-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #00b4d8 !important;
    transition: all 0.3s ease;
}
.ve-social a:hover {
    background: #00b4d8 !important;
    color: #fff !important;
}

.ve-footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

/* Fix for Stray Characters globally */
pre, code { background: transparent; }

/* Text Highlights */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}
h2 span, h1 span.ve-highlight, .ve-logo-text strong {
    color: #00b4d8 !important;
}
p {
    color: #ced4da;
}
