/* Ventrex-Inspired Styles */
:root {
    --vt-dark: #121212; /* Premium Monochrome Palette */
    --vt-gray: #ffffff; /* Keeping original gray for compatibility if needed elsewhere */
    --vt-white: #ffffff;
    --vt-off-white: #fbfcfe;
    --vt-soft-gray: #f5f5f7;
    --vt-ice-blue: #f8faff;
    --vt-blue: #0046ad;
    --vt-text: #1d1d1f;
    --vt-font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --vt-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--vt-font);
    color: var(--vt-text);
    background-color: var(--vt-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.v-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--vt-transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.v-header.v-scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 15px 5%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.v-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.v-logo img {
    height: 35px;
    transition: var(--vt-transition);
    filter: brightness(0); /* Black logo for light theme */
    mix-blend-mode: multiply;
}

.v-logo:hover img {
    transform: scale(1.05);
}

.v-header.v-scrolled .v-logo img {
    filter: brightness(0);
}

.v-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.v-nav-links {
    display: flex;
    gap: 40px;
    color: var(--vt-text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--vt-transition);
}

.v-header.v-scrolled .v-nav-links {
    color: var(--vt-text);
}

.v-nav-links a {
    position: relative;
}
.v-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vt-blue);
    transition: var(--vt-transition);
}
.v-nav-links a:hover::after {
    width: 100%;
}

.v-contact-btn {
    color: var(--vt-text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--vt-transition);
}

.v-header.v-scrolled .v-contact-btn {
    color: var(--vt-text);
}

.v-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.v-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--vt-text);
    transition: var(--vt-transition);
}

.v-header.v-scrolled .v-hamburger span {
    background: var(--vt-text);
}

/* Final Ventrex-Signature Hero (Minimalist) */
.v-hero-ventrex {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #121212; /* Deep Space Background */
    overflow: hidden;
}

.v-hero-content-center {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.v-mega-heading {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(60px, 15vw, 220px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-align: center;
    letter-spacing: -0.02em;
    text-shadow: 0 0 50px rgba(0, 70, 173, 0.5);
    animation: textAppear 2s ease-out forwards, megaFloat 8s ease-in-out infinite;
}

.v-mega-heading span {
    display: block;
    font-size: clamp(14px, 2.5vw, 24px);
    font-weight: 500;
    letter-spacing: 0.4em;
    margin-top: 10px;
    opacity: 0.8;
}

@keyframes textAppear {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes megaFloat {
    0%, 100% { transform: translateY(0) scale(1.0); }
    50% { transform: translateY(-40px) scale(1.05); }
}

.v-scroll-indicator-ventrex {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: rgba(0,0,0,0.1);
    z-index: 10;
}

.v-scroll-line-ventrex {
    width: 100%;
    height: 40px;
    background: #0046ad;
    animation: ventrexScroll 3s infinite ease-in-out;
}

@keyframes ventrexScroll {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Precise Ventrex Content Overlap */
/* Layered Section Backgrounds */
.v-main-content {
    position: relative;
    z-index: 20;
    background: var(--vt-white);
    border-radius: 120px 120px 0 0;
    margin-top: -120px;
    padding: 120px 5%;
    box-shadow: 0 -30px 60px rgba(0,0,0,0.05);
}

.v-main-content::before {
    display: none; /* remove previous abstract art for cleaner Ventrex look */
}

.v-section {
    max-width: 1400px;
    margin: 0 auto 120px;
}

.v-section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.v-section-desc {
    font-size: 24px;
    color: #666;
    max-width: 600px;
}

.v-services-intro {
    margin-bottom: 60px;
}

/* Services Grid */
.v-services-grid-wrapper {
    background: var(--vt-off-white);
    padding: 100px 5%;
    border-radius: 120px 120px 0 0;
    margin-top: -120px;
    z-index: 25;
    position: relative;
    box-shadow: 0 -20px 50px rgba(0,0,0,0.02);
}

.v-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 120px;
}

.v-service-card {
    background: #fff;
    padding: 30px;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--vt-transition);
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.v-service-card:hover {
    transform: translateY(-10px);
    border-color: #0046ad;
    box-shadow: 0 30px 60px rgba(0, 70, 173, 0.05);
}

.v-card-inner {
    padding: 50px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.v-card-text {
    margin-bottom: 40px;
    z-index: 2;
}

.v-card-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.v-card-subtitle {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.v-service-card img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 16/10;
    transition: var(--vt-transition);
}

.v-service-card:hover img {
    transform: scale(1.03);
}

/* About Section */
.v-about {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    background: var(--vt-white); /* Added background */
}

.v-about-content {
    flex: 1;
}

.v-about-header {
    display: flex;
    flex-direction: column;
    align-items: center; /* center the logo and title */
    gap: 20px;
    text-align: center;
}

.v-about-logo {
    width: 420px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    mix-blend-mode: multiply;
}

.v-huge-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 40px;
}

.v-link-btn {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--vt-blue);
    position: relative;
}

.v-link-btn::after {
    content: "→";
    margin-left: 10px;
    transition: var(--vt-transition);
}

.v-link-btn:hover::after {
    transform: translateX(5px);
}

.v-about-stats {
    flex: 1;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.v-stat {
    min-width: 180px;
}

.v-stat span {
    font-size: 72px;
    font-weight: 800;
    color: var(--vt-blue);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.v-stat p {
    font-size: 18px;
    font-weight: 500;
    color: #666;
}

/* Contact Box */
.v-contact {
    background: var(--vt-ice-blue);
    padding: 120px 5%;
}

.v-form {
    margin-top: 40px;
    max-width: 800px;
}

.v-form-group {
    position: relative;
    margin-bottom: 30px;
}

/* Enhanced Contact Form Styling */
.v-contact-box {
    position: relative;
    background: #fff;
    padding: 80px;
    border-radius: 60px;
    box-shadow: 0 40px 100px rgba(0, 70, 173, 0.05);
    overflow: hidden;
}

.v-contact-box::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #0046ad, #fff, #0046ad);
    background-size: 400%;
    z-index: -1;
    border-radius: 62px;
    animation: borderGlow 12s linear infinite;
    opacity: 0.2;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.v-form-group input, .v-form-group textarea {
    width: 100%;
    padding: 25px 20px 10px;
    background: #fbfcfe;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 15px;
    font-size: 16px;
    color: #121212;
    transition: var(--vt-transition);
}

.v-form-group label {
    position: absolute;
    left: 20px;
    top: 25px;
    color: #888;
    pointer-events: none;
    transition: var(--vt-transition);
}

.v-form-group input:focus ~ label,
.v-form-group input:not(:placeholder-shown) ~ label,
.v-form-group textarea:focus ~ label,
.v-form-group textarea:not(:placeholder-shown) ~ label {
    top: 8px;
    font-size: 12px;
    color: #0046ad;
    font-weight: 700;
}

.v-form-group input:focus, .v-form-group textarea:focus {
    background: #fff;
    border-color: #0046ad;
    box-shadow: 0 10px 30px rgba(0, 70, 173, 0.05);
}

.v-btn-solid {
    width: 100%;
    padding: 20px;
    background: #0046ad;
    color: #fff;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: var(--vt-transition);
    margin-top: 20px;
}

.v-btn-solid:hover {
    background: #003685;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 70, 173, 0.3);
}

/* Restructured Corporate Footer */
.v-footer {
    background: #121212;
    color: #fff;
    padding: 100px 5% 50px;
}

.v-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 80px;
    margin-bottom: 80px;
}

.v-footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.v-footer-desc {
    color: #888;
    line-height: 1.6;
}

.v-footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.v-footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
}

.v-footer-col a, .v-footer-col p {
    color: #888;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 12px;
    display: block;
    transition: var(--vt-transition);
}

.v-footer-col a:hover {
    color: #0046ad;
}

.v-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 14px;
}

.v-footer-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v-status-dot {
    width: 8px;
    height: 8px;
    background: #0046ad;
    border-radius: 50%;
    box-shadow: 0 0 10px #0046ad;
}

/* UI Elements */
.v-back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #fff;
    color: #0046ad;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 100;
    text-decoration: none;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.v-back-to-top.active {
    visibility: visible;
    opacity: 1;
}

.v-back-to-top:hover {
    transform: translateY(-10px);
    background: #0046ad;
    color: #fff;
}

@media (max-width: 992px) {
    .v-services-grid {
        grid-template-columns: 1fr;
    }
    .v-about {
        flex-direction: column;
    }
    .v-contact {
        padding: 50px 30px;
    }
    .v-hero-title {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .v-nav-links, .v-contact-btn {
        display: none;
    }
    .v-hamburger {
        display: flex;
    }
    .v-header {
        padding: 20px;
    }
    .v-main-content {
        border-radius: 30px 30px 0 0;
        margin-top: -30px;
        padding: 60px 5%;
    }
}

/* New Content Sections */
.v-industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.v-industry-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--vt-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.v-industry-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(0.8) brightness(0.9);
    transition: var(--vt-transition);
    border-bottom: 2px solid #0046ad;
}

.v-industry-card:hover .v-industry-img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
}

.v-industry-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 25px 25px 10px;
}

.v-industry-card p {
    margin: 0 25px 30px;
}

.v-industry-card:hover {
    background: #fff;
    border-color: #0046ad;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 70, 173, 0.05);
}

.v-credentials-banner {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 60px 5%;
    flex-wrap: wrap;
    background: #fdfdfe;
}

.v-credential-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--vt-transition);
    box-shadow: 0 10px 30px rgba(0, 70, 173, 0.03);
}

.v-credential-item i {
    font-size: 32px;
    color: #0046ad;
    text-shadow: 0 0 10px rgba(0, 70, 173, 0.2);
}

.v-cred-text {
    display: flex;
    flex-direction: column;
}

.v-cred-title {
    font-weight: 800;
    font-size: 16px;
    color: #121212;
    letter-spacing: -0.2px;
}

.v-cred-sub {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.v-credential-item:hover {
    transform: translateY(-5px);
    border-color: #0046ad;
    box-shadow: 0 15px 40px rgba(0, 70, 173, 0.08);
}

@media (max-width: 768px) {
    .v-credentials-banner { gap: 15px; }
    .v-credential-item { width: 100%; padding: 15px 20px; }
}

.v-service-details {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
}

.v-service-details li {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.v-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 80px;
}

.v-about-card {
    background: #fff;
    padding: 50px;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    text-align: left;
}

.v-about-card:hover {
    transform: translateY(-15px);
    border-color: #0046ad;
    box-shadow: 0 40px 80px rgba(0, 70, 173, 0.08);
    background: #fbfcfe;
}

.v-about-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 70, 173, 0.05);
    color: #0046ad;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin-bottom: 25px;
    transition: var(--vt-transition);
}

.v-about-card:hover .v-about-icon {
    background: #0046ad;
    color: #fff;
    transform: rotateY(360deg);
}

@media (max-width: 768px) {
    .v-about-grid {
        grid-template-columns: 1fr;
    }
    .v-about-card {
        padding: 40px;
    }
}