/* ── Our Classes Interactive Panels – c8084f14 ── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Inter:wght@300;400;500;600&display=swap');

.ocp-c8084f14-wrapper {
    width: 100%;
    overflow: hidden;
}

/* Section Header */
.ocp-c8084f14-header {
    text-align: center;
    margin-bottom: 50px;
}

.ocp-c8084f14-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 12px;
    color: #003319;
}

.ocp-c8084f14-section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0;
    color: #4a6b5a;
}

/* Panels Container */
.ocp-c8084f14-panels-wrap {
    display: flex;
    gap: 12px;
    height: 600px;
    padding: 0 10px;
}

/* Individual Panel */
.ocp-c8084f14-panel {
    position: relative;
    flex: 1;
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.75s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    will-change: flex, transform;
    transform: translateY(0);
}

/* Subtle scale on hover for inactive panels */
.ocp-c8084f14-panel:not(.is-active):hover {
    transform: scale(1.015);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.ocp-c8084f14-panel.is-active {
    flex: 4;
    box-shadow: 0 0 40px rgba(0, 128, 60, 0.4), 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
}

.ocp-c8084f14-panel:not(.is-active) {
    flex: 1;
}

/* Background */
.ocp-c8084f14-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ocp-c8084f14-panel.is-active .ocp-c8084f14-bg {
    transform: scale(1.08);
}

.ocp-c8084f14-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ocp-c8084f14-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Overlay */
.ocp-c8084f14-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 51, 25, 0.55) 0%, rgba(0, 0, 0, 0.8) 100%);
    transition: opacity 0.6s ease;
}

.ocp-c8084f14-panel.is-active .ocp-c8084f14-overlay {
    background: linear-gradient(180deg, rgba(0, 51, 25, 0.35) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Glassmorphism */
.ocp-c8084f14-glass {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ocp-c8084f14-panel.is-active .ocp-c8084f14-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Vertical Title (collapsed state) */
.ocp-c8084f14-vertical-title {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ocp-c8084f14-vertical-title span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.ocp-c8084f14-panel.is-active .ocp-c8084f14-vertical-title {
    opacity: 0;
    pointer-events: none;
}

/* Content (expanded state) */
.ocp-c8084f14-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 40px 36px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s,
                transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s;
    pointer-events: none;
}

.ocp-c8084f14-panel.is-active .ocp-c8084f14-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ocp-c8084f14-subtitle {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ocp-c8084f14-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 8px 0 14px;
    color: #ffffff;
    line-height: 1.15;
}

.ocp-c8084f14-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px;
    max-width: 480px;
}

/* CTA Button */
.ocp-c8084f14-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background-color: #ffffff;
    color: #003319;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ocp-c8084f14-btn:hover {
    background-color: #00803c;
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 6px 30px rgba(0, 128, 60, 0.4);
}

.ocp-c8084f14-btn svg {
    transition: transform 0.3s ease;
}

.ocp-c8084f14-btn:hover svg {
    transform: translateX(4px);
}

/* Panel Index Number */
.ocp-c8084f14-index {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 5;
}

.ocp-c8084f14-index span {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 1px;
    transition: color 0.4s ease;
}

.ocp-c8084f14-panel.is-active .ocp-c8084f14-index span {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Scroll Entrance Animation ── */
.ocp-c8084f14-wrapper:not(.ocp-in-view) .ocp-c8084f14-panel {
    opacity: 0;
    transform: translateY(40px);
}

.ocp-c8084f14-wrapper.ocp-in-view .ocp-c8084f14-panel {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                flex 0.75s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ocp-c8084f14-wrapper.ocp-in-view .ocp-c8084f14-panel:nth-child(1) { transition-delay: 0s, 0s, 0s, 0s; }
.ocp-c8084f14-wrapper.ocp-in-view .ocp-c8084f14-panel:nth-child(2) { transition-delay: 0.1s, 0.1s, 0s, 0s; }
.ocp-c8084f14-wrapper.ocp-in-view .ocp-c8084f14-panel:nth-child(3) { transition-delay: 0.2s, 0.2s, 0s, 0s; }
.ocp-c8084f14-wrapper.ocp-in-view .ocp-c8084f14-panel:nth-child(4) { transition-delay: 0.3s, 0.3s, 0s, 0s; }

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
    .ocp-c8084f14-panels-wrap {
        height: 500px;
        gap: 8px;
    }

    .ocp-c8084f14-title {
        font-size: 28px;
    }

    .ocp-c8084f14-content {
        padding: 30px 24px;
    }

    .ocp-c8084f14-desc {
        font-size: 14px;
    }

    .ocp-c8084f14-section-title {
        font-size: 36px;
    }

    .ocp-c8084f14-panel.is-active {
        flex: 3.5;
    }
}

/* ── Responsive: Mobile ── */
@media (max-width: 767px) {
    .ocp-c8084f14-panels-wrap {
        flex-direction: column;
        height: auto;
        gap: 10px;
        padding: 0;
    }

    .ocp-c8084f14-panel {
        flex: none !important;
        height: 80px;
        transition: height 0.65s cubic-bezier(0.25, 0.8, 0.25, 1),
                    box-shadow 0.5s ease;
        transform: none !important;
    }

    .ocp-c8084f14-panel:not(.is-active):hover {
        transform: none !important;
    }

    .ocp-c8084f14-panel.is-active {
        height: 420px;
    }

    .ocp-c8084f14-vertical-title {
        writing-mode: horizontal-tb;
    }

    .ocp-c8084f14-vertical-title span {
        writing-mode: horizontal-tb;
        text-orientation: initial;
        font-size: 18px;
        letter-spacing: 3px;
    }

    .ocp-c8084f14-content {
        padding: 24px 20px;
    }

    .ocp-c8084f14-title {
        font-size: 26px;
    }

    .ocp-c8084f14-desc {
        font-size: 13px;
    }

    .ocp-c8084f14-section-title {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .ocp-c8084f14-section-subtitle {
        font-size: 14px;
    }

    .ocp-c8084f14-header {
        margin-bottom: 30px;
    }

    .ocp-c8084f14-btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    /* Mobile entrance */
    .ocp-c8084f14-wrapper:not(.ocp-in-view) .ocp-c8084f14-panel {
        opacity: 0;
        transform: none;
    }

    .ocp-c8084f14-wrapper.ocp-in-view .ocp-c8084f14-panel {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                    height 0.65s cubic-bezier(0.25, 0.8, 0.25, 1),
                    box-shadow 0.5s ease;
    }
}
