/**
 * Veeru Tech - Partners Page Dedicated Styles
 * Matches Image 1 Pixel-for-Pixel & Supports Dynamic Custom Styles, Mask Tinting & Typography
 */

.vt-partners-page-wrapper {
    width: 100%;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #334155;
    background-color: #ffffff;
}

.vt-partners-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. HERO BANNER */
.vt-partners-hero {
    position: relative;
    background-color: #06172e;
    background-size: cover;
    background-position: center;
    padding: 70px 0 80px 0;
}

.vt-partners-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #06172e 0%, #030a14 100%);
    opacity: 0.85;
    z-index: 1;
}

.vt-partners-hero .vt-partners-container {
    position: relative;
    z-index: 2;
}

.vt-partners-hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.vt-partners-hero-text {
    max-width: 650px;
}

.vt-partners-hero-accent {
    font-size: 13px;
    font-weight: 700;
    color: #f17a28;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.vt-partners-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.vt-partners-breadcrumb {
    font-size: 14px;
    font-weight: 600;
    color: #f17a28;
    margin: 0 0 15px 0;
}

.vt-partners-hero-desc {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.vt-partners-hero-img img {
    max-width: 440px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
}

/* 2. ECOSYSTEM, JOIN CARD & CERTIFICATIONS */
.vt-eco-cert-section {
    padding: 75px 0;
    background-color: #ffffff;
}

.vt-eco-3col-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px minmax(0, 1fr);
    gap: 30px;
    align-items: stretch;
}

.vt-eco-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.vt-section-accent {
    font-size: 12px;
    font-weight: 700;
    color: #f17a28;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.vt-eco-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px 0;
    line-height: 1.25;
}

.vt-eco-desc {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 25px 0;
}

/* LEFT COLUMN: HORIZONTAL INLINE STATS ROW */
.vt-eco-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.vt-eco-stat-inline-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.vt-eco-stat-inline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #e2e8f0;
}

.vt-eco-stat-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.vt-eco-stat-icon i {
    font-size: 28px;
    color: #1e293b;
    line-height: 1;
}

.vt-icon-mask {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: #1e293b;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.vt-eco-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 4px;
}

.vt-eco-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
}

/* CENTER COLUMN: DARK BLUE JOIN CARD */
.vt-join-highlight-card {
    background-color: #031838;
    border-radius: 16px;
    padding: 36px 30px;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(3, 24, 56, 0.2);
}

.vt-join-card-top h3 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.25;
}

.vt-join-card-top p {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 26px;
}

.vt-join-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vt-join-bullets li {
    font-size: 13.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vt-join-bullets li span {
    color: inherit;
}

.vt-join-bullets i {
    color: #f17a28;
    font-size: 14px;
    font-weight: 800;
}

.vt-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f17a28;
    color: #ffffff;
    padding: 13px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    width: 100%;
}

.vt-join-btn:hover {
    background-color: #d96414;
    color: #ffffff;
}

/* RIGHT COLUMN: CERTIFICATIONS DYNAMIC ENGINE */
.vt-cert-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: auto;
    width: 100%;
    min-width: 0;
    gap: 8px;
}

.vt-cert-items-holder {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* Base Certificate Card Styling */
.vt-cert-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.vt-cert-card-item:hover {
    border-color: #f17a28;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.vt-cert-img-box {
    position: relative;
    width: 100%;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vt-cert-img-box img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.vt-cert-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 24, 56, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transition: all 0.25s ease;
}

.vt-cert-card-item:hover .vt-cert-zoom-overlay {
    opacity: 1;
}

.vt-cert-card-item strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.vt-cert-card-item span {
    font-size: 10px;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

/* DYNAMIC MODE 1: SINGLE CERTIFICATE (1 ITEM) */
.vt-cert-mode-single .vt-cert-items-holder {
    display: block;
}

.vt-cert-mode-single .vt-cert-card-item {
    padding: 24px;
    border-radius: 12px;
}

.vt-cert-mode-single .vt-cert-img-box {
    height: 180px;
    margin-bottom: 14px;
}

.vt-cert-mode-single .vt-cert-card-item strong {
    font-size: 16px;
}

.vt-cert-mode-single .vt-cert-card-item span {
    font-size: 13px;
}

/* DYNAMIC MODE 2: DOUBLE CERTIFICATES (2 ITEMS) */
.vt-cert-mode-double .vt-cert-items-holder {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.vt-cert-mode-double .vt-cert-card-item {
    padding: 16px 12px;
}

.vt-cert-mode-double .vt-cert-img-box {
    height: 120px;
    margin-bottom: 10px;
}

.vt-cert-mode-double .vt-cert-card-item strong {
    font-size: 13px;
}

.vt-cert-mode-double .vt-cert-card-item span {
    font-size: 11px;
}

/* DYNAMIC MODE 3: 3 TO 6 CERTIFICATES (3-COL GRID) */
.vt-cert-mode-grid .vt-cert-items-holder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.vt-cert-mode-grid .vt-cert-img-box {
    height: 65px;
}

/* DYNAMIC MODE 4: MORE THAN 6 CERTIFICATES (3x2 GRID SLIDER) */
.vt-cert-mode-slider .vt-cert-items-holder {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 16px) / 3);
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 0;
    scroll-snap-type: x mandatory;
}

.vt-cert-mode-slider .vt-cert-items-holder::-webkit-scrollbar {
    display: none;
}

.vt-cert-mode-slider .vt-cert-card-item {
    scroll-snap-align: start;
    width: 100%;
}

.vt-cert-mode-slider .vt-cert-img-box {
    height: 65px;
}

.vt-cert-arrow {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    color: #0f172a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.vt-cert-arrow:hover {
    background-color: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* 3. PARTNERSHIP TIERS SECTION */
.vt-partners-tiers-section {
    padding: 75px 0;
    background-color: #f8fafc;
}

.vt-section-center-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 45px auto;
}

.vt-tiers-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 6px 0 0 0;
    line-height: 1.25;
}

.vt-tiers-4col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.vt-tier-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.vt-tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: #f17a28;
}

.vt-tier-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.vt-tier-icon-box i {
    font-size: 22px;
}

.vt-tier-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.vt-tier-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.vt-tier-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vt-tier-bullets li {
    font-size: 12.5px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vt-tier-bullets li span {
    color: inherit;
}

.vt-tier-check {
    color: #10b981;
    font-weight: 800;
}

.vt-tier-link {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: #f17a28;
    text-decoration: none;
    transition: all 0.25s ease;
}

.vt-tier-link:hover {
    color: #d96414;
}

/* 4. TECH PARTNERS LOGO MARQUEE SECTION */
.vt-tech-partners-strip-section {
    padding: 75px 0;
    background-color: #ffffff;
}

.vt-tech-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 6px 0 0 0;
    line-height: 1.25;
}

.vt-partners-marquee-container {
    overflow: hidden;
    width: 100%;
    margin: 30px 0;
}

.vt-partners-marquee-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: vtPartnersMarquee 25s linear infinite;
}

@keyframes vtPartnersMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.vt-partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.vt-partner-logo-item img {
    max-height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.25s ease;
}

.vt-partner-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.vt-logo-text {
    font-size: 18px;
    font-weight: 800;
    color: #64748b;
}

.vt-tech-sub-center {
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

/* 5. BENEFITS OF PARTNERING SECTION */
.vt-benefits-section {
    padding: 75px 0;
    background-color: #f8fafc;
}

.vt-benefits-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 6px 0 0 0;
    line-height: 1.25;
}

.vt-benefits-5col-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.vt-benefit-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.25s ease;
}

.vt-benefit-card:hover {
    border-color: #f17a28;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

.vt-benefit-icon {
    width: 46px;
    height: 46px;
    background: #06172e;
    color: #f17a28;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.vt-benefit-icon i {
    font-size: 20px;
    line-height: 1;
}

.vt-benefit-icon .vt-icon-mask {
    background-color: #f17a28;
}

.vt-benefit-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.vt-benefit-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 6. BOTTOM CTA BANNER SECTION */
.vt-partners-cta-section {
    padding: 0 0 80px 0;
    background-color: #f8fafc;
    transition: background-color 0.25s ease;
}

.vt-partners-cta-banner {
    background-color: #031226;
    border-radius: 16px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #ffffff;
    transition: all 0.25s ease;
}

.vt-cta-left {
    max-width: 380px;
}

.vt-cta-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.vt-cta-desc {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.vt-cta-badges {
    display: flex;
    gap: 25px;
    align-items: center;
}

.vt-cta-badges div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vt-cta-badges i {
    font-size: 22px;
    color: #f17a28;
    line-height: 1;
}

.vt-cta-badges .vt-icon-mask {
    background-color: #f17a28;
    width: 22px;
    height: 22px;
}

.vt-cta-badges strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.vt-cta-badges span {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.2;
}

.vt-orange-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f17a28;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.vt-orange-btn:hover {
    background-color: #d96414;
    color: #ffffff;
}

/* LIGHTBOX MODAL */
.vt-cert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vt-cert-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
}

.vt-cert-modal-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.vt-cert-modal-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
}

.vt-cert-modal-content h3 {
    color: #ffffff;
    margin-top: 15px;
}

/* RESPONSIVE LAYOUT BREAKDOWNS */
@media (max-width: 1199px) {
    .vt-eco-3col-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .vt-eco-stats-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .vt-tiers-4col-grid,
    .vt-benefits-5col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vt-partners-cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .vt-partners-hero-img {
        display: none;
    }
}

@media (max-width: 575px) {
    .vt-eco-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .vt-eco-stat-inline-item:not(:last-child)::after {
        display: none;
    }
    .vt-cert-mode-grid .vt-cert-items-holder {
        grid-template-columns: repeat(2, 1fr);
    }
    .vt-cert-mode-slider .vt-cert-items-holder {
        grid-auto-columns: calc(50% - 4px);
    }
    .vt-tiers-4col-grid,
    .vt-benefits-5col-grid {
        grid-template-columns: 1fr;
    }
    .vt-partners-hero-title {
        font-size: 28px;
    }
}