/* Modern Theme Enhancements for OASSE */

/* ========== VIDEO CONTAINER ========== */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* ========== MODERN CARD STYLES ========== */

/* Glassmorphism effect for cards */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Modern solution cards with depth */
.solution-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(21, 56, 146, 0.08);
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.solution-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.05) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 0;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover::after {
    transform: translateX(100%);
}

.solution-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(21, 56, 146, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.solution-card>* {
    position: relative;
    z-index: 2;
}


/* Icon with gradient background */
.solution-card .icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(21, 56, 146, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.solution-card:hover .icon-wrapper {
    background: linear-gradient(135deg, rgba(21, 56, 146, 0.15) 0%, rgba(0, 212, 255, 0.15) 100%);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25);
    }

    50% {
        box-shadow: 0 8px 32px rgba(0, 212, 255, 0.45);
    }
}

.solution-card .icon-wrapper img {
    max-width: 60px;
    height: auto;
}

.solution-card h5 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.solution-card p {
    font-size: 0.98rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0;
}


/* ========== VALUE CARDS MODERN ========== */
.value-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s ease;
    border-left: 5px solid var(--accent-orange);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 105, 16, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.value-card:hover {
    transform: translateX(12px);
    box-shadow: 0 8px 32px rgba(255, 105, 16, 0.15);
    border-left-width: 8px;
}

.value-card .icon {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
    display: inline-block;
}

.value-card h6 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ========== SECTION TITLES MODERN ========== */
.section-title-rebrand h2 {
    font-size: 2.75rem;
    color: var(--primary-blue-dark);
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-title-rebrand h2 span {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF8400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title-rebrand p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* ========== STATS SECTION MODERN ========== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-item {
    text-align: center;
    padding: 24px;
    position: relative;
    z-index: 2;
}

.stat-item .number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FFB84D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-item .label {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ========== INDUSTRY TABS MODERN ========== */
.industry-tabs .nav-tabs {
    border-bottom: 3px solid rgba(21, 56, 146, 0.1);
    justify-content: center;
    margin-bottom: 50px;
}

.industry-tabs .nav-link {
    border: none;
    border-bottom: 4px solid transparent;
    color: var(--text-gray);
    font-weight: 600;
    padding: 14px 28px;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    position: relative;
}

.industry-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.industry-tabs .nav-link:hover {
    color: var(--primary-blue);
}

.industry-tabs .nav-link:hover::after {
    width: 80%;
}

.industry-tabs .nav-link.active {
    color: var(--primary-blue-dark);
    background: transparent;
    font-weight: 700;
}

.industry-tabs .nav-link.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--accent-orange) 0%, #FF8400 100%);
}

/* ========== PRICING CTA MODERN ========== */
.pricing-cta-section {
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.04) 0%, rgba(0, 212, 255, 0.04) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-cta-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 105, 16, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.pricing-cta-section h2 {
    font-size: 2.8rem;
    color: var(--primary-blue-dark);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pricing-cta-section p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 750px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

/* ========== TESTIMONIAL MODERN ========== */
.testimonial-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 120px;
    font-weight: 700;
    color: rgba(0, 212, 255, 0.08);
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(21, 56, 146, 0.12);
}

/* ========== RESPONSIVE MODERN ========== */
@media (max-width: 991px) {
    .section-title-rebrand h2 {
        font-size: 2.2rem;
    }

    .hero-video-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .section-title-rebrand h2 {
        font-size: 1.9rem;
    }

    .solution-card {
        padding: 28px 24px;
    }

    .solution-card .icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .stat-item .number {
        font-size: 2.8rem;
    }
}

/* ========== MARQUEE LOGOS SECTION ========== */
.marquee-section {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-wrapper {
    display: flex;
    gap: 32px;
    width: max-content;
}

/* Animation directions */
.scroll-left {
    animation: scroll-left 40s linear infinite;
}

.scroll-right {
    animation: scroll-right 40s linear infinite;
}

.marquee-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 16px));
    }
}

@keyframes scroll-right {
    from {
        transform: translateX(calc(-50% - 16px));
    }

    to {
        transform: translateX(0);
    }
}

.logo-card {
    width: 160px;
    height: 96px;
    background: #F9FAFB;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.logo-card:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.05);
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}