/* ====================================================== */
/* ==================  Vision Section  ================== */
/* ====================================================== */

/* ===== Section Intro Text ===== */
.driven-text {
    font-size: 24px;
    font-weight: var(--font-weight-light);
    margin: 40px 0 0 0;
    color: var(--primary-color);
}

/* ===== Vision Section Layout ===== */
.vision-main {
    padding: 140px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}

/* ===== Vision Image Container ===== */
.vision-img {
    height: 700px;
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
    box-shadow: var(--shadow);
}

/* ===== Image Fill and Crop ===== */
.vision-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* ===== Reset Paragraph Margin ===== */
.vision-main p {
    margin: 0;
}

/* ====================================================== */
/* ==================  Marquee Section  ================= */
/* ====================================================== */

/* ===== Marquee Wrapper ===== */
.marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
    user-select: none;
    gap: 42px;
}

/* ===== Moving Group of Logos/Text ===== */
.marquee_group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 42px;
    min-width: 100%;
    animation: scroll-right 50s linear infinite;
}

/* ===== Marquee Logo Images ===== */
.marquee img {
    display: block;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* ===== Hover Effect on Logos ===== */
.marquee img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ===== Marquee Scroll Animation ===== */
@keyframes scroll-right {
    from {
        transform: translateX(calc(-100% - 2rem));
    }
    to {
        transform: translateX(0);
    }
}

/* ====================================================== */
/* ==================  Global Section  ================== */
/* ====================================================== */

/* ===== Layout: Text + Map ===== */
.global-main {
    display: flex;
    justify-content: space-between;
}

/* ===== Global Content Area ===== */
.global-content {
    width: 50%;
}

/* ===== Global Map Container ===== */
.global-map {
    box-shadow: var(--shadow);
    z-index: 1;
    height: 500px;
    width: 46%;
    border-radius: var(--radius);
}

/* ====================================================== */
/* =============  Gradient Highlight Text  ============== */
/* ====================================================== */
.grediant-text {
    font-size: 22px;
    text-align: left;
    line-height: 24px;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    align-self: flex-start;
}

.grediant-text strong {
    background: var(--LinearforSee);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ====================================================== */
/* =============  Partners logos grid  ================== */
/* ====================================================== */
.partners-logos-wrap {
    width: 100%;
    max-width: 100%;
}

.partners-subhead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    text-align: center;
}

.partners-subhead:first-of-type {
    margin-top: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem 2rem;
    justify-items: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.partner-logo img {
    max-height: 48px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .partner-logo img {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .partners-subhead {
        font-size: 1.1rem;
    }
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .partner-logo img {
        max-height: 36px;
    }
}

/* ====================================================== */
/* ==================  Responsive ======================= */
/* ====================================================== */
@media (max-width: 1250px) {
    .driven-text {
        font-size: 20px;
    }
    .vision-main {
        padding: 80px 0;
    }
    .vision-img {
        height: 400px;
    }
    .grediant-text {
        font-size: 18px;
        line-height: 28px;
    }
}
/* ===== Large Tablets ===== */
@media (max-width: 1024px) {
    .marquee {
        gap: 1.5rem;
    }
    .marquee_group {
        gap: 1.5rem;
        animation-duration: 40s;
    }
    .marquee img {
        width: 100px;
    }
    .global-main {
        flex-direction: column;
    }
    .global-map,
    .global-content {
        width: 100%;
    }
    .global-map {
        margin: 48px 0 0 0;
    }
    .vision-main {
        gap: 40px;
    }
}

/* ===== Tablets ===== */
@media (max-width: 768px) {
    .marquee {
        gap: 1rem;
    }
    .marquee_group {
        gap: 1rem;
        animation-duration: 30s;
    }
    .marquee img {
        width: 80px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 480px) {
    .marquee img {
        width: 80px;
    }
    .marquee_group {
        animation-duration: 25s;
    }
    .global-map {
        height: 300px;
    }
    .driven-text {
        font-size: 18px;
    }
    .grediant-text {
        font-size: 16px;
    }
}
