/* --- Variables & Reset (Based on Brand Board) --- */
:root {
    --ibm-blue: #0F62FE;      /* Core Blue [cite: 294] */
    --ibm-black: #000000;     /* [cite: 400] */
    --ibm-white: #ffffff;     /* [cite: 401] */
    --ibm-gray-10: #f4f4f4;   /* Light BG */
    --ibm-gray-80: #393939;   /* Text */
    --ibm-pink: #FF7EB6;      /* Accent [cite: 463] */
    --ibm-green: #42BE65;     /* Accent [cite: 530] */
    --ibm-light-blue: #A6C8FF;/* Accent */
    --ibm-purple: #BE95FF;    /* Accent */
    --line-green: #06C755;    /* LINE Brand Color */
    
    --font-base: 'IBM Plex Sans JP', sans-serif;
    --font-latin: 'IBM Plex Sans', sans-serif;
    --grid-gap: 2rem;         /* Space for breathing room [cite: 285] */
}

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

body {
    font-family: var(--font-base);
    color: var(--ibm-black);
    line-height: 1.6;
    background-color: var(--ibm-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-base);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* --- Hero Grid Section --- */
.hero-grid-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #0f63fe;
}

.hero-bg-grid {
    display: grid;
    /* PC: 3列 x 2行 */
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.grid-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
}

.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
}

.text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.reveal-block {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.reveal-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    z-index: 1;
    animation: reveal-swipe 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.blue-block::after {
    background-color: var(--ibm-blue); /* IBM Core Blue [cite: 370] */
}

.dark-block::after {
    background-color: #333;
}

.reveal-block p, 
.reveal-block h1 {
    opacity: 0;
    animation: reveal-text 0s 0.5s forwards;
}

.delay-short::after { animation-delay: 0.2s; }
.delay-short p, .delay-short h1 { animation-delay: 0.7s; }
.delay-long { animation-delay: 1.8s; }

@keyframes reveal-swipe {
    0% { transform: scaleX(0); transform-origin: left; }
    45% { transform: scaleX(1); transform-origin: left; }
    55% { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

@keyframes reveal-text {
    to { opacity: 1; }
}

/* --- Typography --- */
.hero-eyebrow {
    font-family: var(--font-latin);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--ibm-white);
    line-height: 1;
    margin: 0;
    padding: 0.2rem 0;
}

.hero-title {
    margin: 0; 
    font-family: var(--font-latin);
    font-size: clamp(3.5rem, 7vw, 7rem);
    line-height: 1.1;
    font-weight: 400;
    color: var(--ibm-white);
    padding: 0.2rem 0;
}
.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}


.btn-line-main {
    display: inline-block;
    background-color: #42BE65;
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
    text-align: center;
    border-radius: 0;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-line-main:hover {
    background-color: #05b34c;
    transform: translateY(-2px);
}

.btn-line-floating {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    color: #fff;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
}

.btn-line-floating img {
    width:100%;
}



@media (max-width: 768px) {
    .hero-bg-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }

    .hero-eyebrow {
        color: #fff;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
    .hero-title {
        color: #fff;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        margin-bottom: 2rem;
    }
    
    .btn-line-floating {
        width: 100px;
        height: 100px;
    }
    .line-text-floating {
        font-size: 0.7rem;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    font-family: var(--font-latin);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--ibm-blue);
    color: var(--ibm-white);
}

.btn-primary:hover {
    background-color: #0043CE;
}

/* --- Jobs Section (Grid) --- */
/* --- Career Section (Carousel) --- */
/* --- Modern Career Section --- */
.section-career {
    padding: 5rem 0;
    background-color: #fcfcfc;
    position: relative;
    overflow: hidden;
}

.career-bg-deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        #f4f4f4,
        #f4f4f4 2px,
        transparent 2px,
        transparent 20px
    );
    z-index: 0;
    opacity: 0.6;
}

.relative-z {
    position: relative;
    z-index: 1;
}

/* Header */
.career-header {
    text-align: center;
}

.career-eyebrow {
    display: block;
    font-family: var(--font-latin);
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--ibm-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.career-title {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: -1px;
}

.modern-card {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 1rem;
    color: inherit;
}

.card-visual {
    position: relative;
    width: 90%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-badge {
    position: absolute;
    top: 0.7rem;
    left: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: #fff;
    color: var(--ibm-black);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.card-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}
.card-badge.bg-pink::before { background-color: var(--ibm-pink); }
.card-badge.bg-green::before { background-color: var(--ibm-green); }
.card-badge.bg-blue::before { background-color: var(--ibm-blue); }
.card-badge.bg-purple::before { background-color: var(--ibm-purple); }


.card-content {
    position: relative;
    width: 90%;
    margin-left: 10%;
    margin-top: -60px;
    background: #fff;
    padding: 2.5rem 2rem;
    border:1px solid #e2e2e2;
    z-index: 3;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ccc;
    transition: width 0.4s ease;
}
.card-content.accent-pink::before { background-color: var(--ibm-pink); }
.card-content.accent-green::before { background-color: var(--ibm-green); }
.card-content.accent-blue::before { background-color: var(--ibm-blue); }
.card-content.accent-purple::before { background-color: var(--ibm-purple); }


.card-catch {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    font-feature-settings: "palt";
}

.card-desc {
    font-size: 0.9rem;
    color: var(--ibm-gray-80);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.view-more {
    font-family: var(--font-latin);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ibm-black);
}

.arrow-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* --- Hover Effects --- */
.modern-card:hover .card-visual img {
    transform: scale(1.08);
}

.modern-card:hover .card-content {
    transform: translateY(-10px);
}

.modern-card:hover .arrow-icon {
    transform: translateX(5px);
    color: var(--ibm-blue);
}

.career-swiper {
    padding: 60px 20px 80px 20px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .section-career { padding: 6rem 0; }
    
    .card-visual { width: 100%; }
    
    .card-content {
        width: 95%;
        margin-left: 2.5%;
        margin-top: -40px;
        padding: 1.5rem;
    }
    
    .career-title { font-size: 2rem; }
}


.section-environment {
    padding: 5rem 0;
    background-color: #fff;
    overflow: hidden;
}

.env-header { text-align: center; margin-bottom: 5rem; }
.env-title-wrapper { display: inline-flex; flex-direction: column; align-items: center; position: relative; margin-bottom: 2rem; }
.env-eyebrow { font-family: var(--font-latin); font-size: 0.9rem; color: var(--ibm-blue); letter-spacing: 2px; margin-bottom: 0.5rem; text-transform: uppercase; font-weight: bold;}
.env-title { font-size: 2.5rem; color: var(--ibm-black); line-height: 1.2; margin-bottom: 1rem; }
.ibm-blue-bar { width: 60px; height: 4px; background-color: var(--ibm-blue); margin-top: 0.5rem; display:block; margin: 0.5rem auto 0;}
.env-desc { font-size: 1.1rem; line-height: 1.8; color: var(--ibm-gray-80); max-width: 800px; margin: 0 auto; }


/* --- Grid Layout --- */
.env-grid {
    display: grid;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    
    grid-template-columns: repeat(5, 1fr);
    
    row-gap: 60px;
    column-gap: 20px;
}

.env-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.env-icon-circle {
    width: 120px;
    height: 120px;
    background: #fcfcfc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.env-icon-circle img {
    width: 50px;
    height: 50px;
    display: block;
}

.env-text {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ibm-black);
}

@keyframes floatBubble {
    0% { transform: translate(0, 0); }
    25% { transform: translate(4px, -6px); }
    50% { transform: translate(-3px, 4px); }
    75% { transform: translate(-5px, -3px); }
    100% { transform: translate(0, 0); }
}

.floating-item .env-icon-circle {
    animation: floatBubble 6s ease-in-out infinite;
}

.floating-item:nth-child(2n) .env-icon-circle { animation-duration: 7s; animation-delay: 0.5s; }
.floating-item:nth-child(3n) .env-icon-circle { animation-duration: 5.5s; animation-delay: 1s; }
.floating-item:nth-child(4n) .env-icon-circle { animation-duration: 8s; animation-delay: 2s; }
.floating-item:nth-child(5n) .env-icon-circle { animation-duration: 6.5s; animation-delay: 1.5s; }

@keyframes floatBubbleReverse {
    0% { transform: translate(0, 0); }
    30% { transform: translate(-4px, -5px); }
    60% { transform: translate(5px, 3px); }
    100% { transform: translate(0, 0); }
}
.floating-item:nth-child(odd) .env-icon-circle {
    animation-name: floatBubbleReverse;
}

.env-item:hover .env-icon-circle {
    background-color: #fff;
    border-color: var(--ibm-blue);
    box-shadow: 0 10px 25px rgba(15, 98, 254, 0.2);
}


@media (max-width: 900px) {
    .section-environment { padding: 4rem 0 6rem 0; }
    .env-title { font-size: 1.8rem; }
    
    .env-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 15px;
        row-gap: 40px;
        padding: 0 1rem;
    }

    .env-icon-circle {
        width: 90px;
        height: 90px;
        margin-bottom: 0.8rem;
    }

    .env-icon-circle img {
        width: 35px;
        height: 35px;
    }

    .env-text {
        font-size: 0.8rem;
    }
}



.section-voice {
    padding: 5rem 0;
    background-color: #f8f8f8;
    overflow: hidden;
}

.voice-header {
    text-align: center;
    margin-bottom: 8rem;
}

.voice-eyebrow {
    font-family: var(--font-latin);
    color: var(--ibm-blue);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.voice-title {
    font-family: var(--font-latin);
    font-size: 2.5rem;
    color: var(--ibm-black);
    line-height: 1;
    margin-bottom: 2rem;
}

.voice-subtitle {
    font-size: 1rem;
    color: var(--ibm-gray-80);
    margin-bottom: 1rem;
}

.voice-list {
    display: flex;
    flex-direction: column;
    gap: 10rem;
    max-width: 1000px;
    margin: 0 auto;
}

.voice-article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
}

.voice-article.reverse {
    flex-direction: row-reverse;
}

.voice-visual {
    position: relative;
    width: 45%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.voice-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.voice-number {
    position: absolute;
    bottom: 0px;
    left: 0px;
    font-family: var(--font-latin);
    font-size: 8rem;
    font-weight: 700;
    color: var(--ibm-blue);
    opacity: 0.8;
    line-height: 1;
    z-index: 2;
    text-shadow: 0 10px 0px rgba(0,0,0,0.1);
}
.voice-article.reverse .voice-number {
    left: auto;
    right: 0px;
}

.voice-content {
    width: 45%;
}

.voice-catch {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
    font-feature-settings: "palt";
}

.voice-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--ibm-gray-80);
    margin-bottom: 3rem;
}

.voice-profile {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-family: var(--font-latin);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ibm-blue);
    margin-bottom: 0.2rem;
}

.profile-role {
    font-size: 0.85rem;
    color: var(--ibm-black);
    font-weight: 700;
}

.voice-article:hover .voice-img {
    transform: scale(1.05);
}

.voice-article.visible .reveal-image-box {
    animation: slideInImage 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideInImage {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
    .section-voice { padding: 5rem 0 8rem; }
    
    .voice-list { gap: 6rem; }

    .voice-article, 
    .voice-article.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .voice-visual {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    
    .voice-number {
        font-size: 5rem;
        top: -10px;
        left: 10px;
        right: auto;
    }

    .voice-content {
        width: 100%;
        padding: 0 1rem;
    }

    .voice-catch {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

.section-cta {
    position: relative;
    padding: 10rem 0;
    color: #fff;
    overflow: hidden;
    background-color: #1a1a1a;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s linear infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(15, 98, 254, 0.2) 100%
    );
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-main-title {
    font-family: var(--font-latin);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.highlight-ibmer {
    display: block;
    margin-top: 0.5rem;
    text-shadow: 0 0 30px rgba(15, 98, 254, 0.6);
}

.cta-subtext {
    font-size: 1.1rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    font-weight: 300;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #161616;
}

.footer-logo {
    width: 80px;
    height: auto;
    display: inline-block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}


.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    padding: 1.2rem 2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-apply {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-apply:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn-line-final {
    background-color: #42BE65;
    color: #fff;
    border: none;
}

.btn-line-final:hover {
    background-color: #05b34c;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(66, 190, 101, 0.4);
}

.btn-text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}


.fade-in, .fade-up {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up {
    transform: translateY(30px);
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }



.section-video {
    padding: 8rem 2rem;
    position: relative;
    overflow: visible;
}

.video-layout-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.video-header-sophisticated {
    position: relative;
    width: 40%;
    flex-shrink: 0;
}

.bg-text {
    position: absolute;
    top: -60px;
    left: -20px;
    font-family: var(--font-latin);
    font-size: 8rem;
    font-weight: 700;
    color: #f2f2f2;
    z-index: -1;
    line-height: 1;
    letter-spacing: -2px;
    opacity: 0.6;
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
    padding-left: 1rem;
    border-left: 4px solid var(--ibm-blue);
}

.header-content .main-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.header-content .sub-title {
    font-size: 1.1rem;
    color: var(--ibm-gray-80);
    font-weight: 300;
}

.ibm-stripe-line {
    width: 80px;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--ibm-black),
        var(--ibm-black) 2px,
        transparent 2px,
        transparent 4px
    );
    margin: 1.5rem 0;
}

.video-thumbnail-wrapper {
    position: relative;
    width: 55%;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.video-thumb-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
    opacity: 0.9;
}

.video-overlay-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 98, 254, 0);
    transition: background-color 0.5s ease;
    z-index: 2;
}

.play-button-group {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.play-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
}

.play-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
    transition: border-color 0.3s ease;
}

.play-text {
    font-family: var(--font-latin);
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.video-thumbnail-wrapper:hover .thumb-img {
    transform: scale(1.05);
    opacity: 0.6;
}

.video-thumbnail-wrapper:hover .video-overlay-effect {
    background-color: rgba(15, 98, 254, 0.2);
}

.video-thumbnail-wrapper:hover .play-circle {
    transform: scale(1.2);
    background-color: var(--ibm-blue);
    border-color: var(--ibm-blue);
    box-shadow: 0 10px 30px rgba(15, 98, 254, 0.4);
}

.video-thumbnail-wrapper:hover .play-text {
    opacity: 1;
    transform: translateY(0);
}

.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.video-modal-overlay.active .modal-content {
    transform: scale(1);
}

.video-wrapper {
    width: 100%;
    height: 100%;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
}

.close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
}

.close-icon {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.close-icon::before,
.close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.close-icon::before { transform: translate(-50%, -50%) rotate(45deg); }
.close-icon::after { transform: translate(-50%, -50%) rotate(-45deg); }

.close-btn:hover .close-icon::before { transform: translate(-50%, -50%) rotate(135deg); }
.close-btn:hover .close-icon::after { transform: translate(-50%, -50%) rotate(45deg); }

@media (max-width: 900px) {
    .video-layout-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }

    .video-header-sophisticated {
        width: 100%;
        margin-bottom: 2rem;
    }

    .bg-text {
        font-size: 5rem;
        top: -30px;
    }

    .video-thumbnail-wrapper {
        width: 100%;
    }
}